From shaosean at wehostmacs.com Fri Aug 1 02:19:50 2008 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 1 Aug 2008 02:19:50 -0400 Subject: Vista 64 bit edition compatibility Message-ID: <915B9889-5284-4919-A756-F3192AAEE098@wehostmacs.com> I've had some limited tests done on Vista 64-bit and there were some issues with the application not appearing in the task bar. From heather at runrev.com Fri Aug 1 03:31:26 2008 From: heather at runrev.com (Heather Nagey) Date: Fri, 1 Aug 2008 08:31:26 +0100 Subject: Attempting to troubleshoot my connection to this list In-Reply-To: References: Message-ID: <02857D21-6AAF-4BF7-96B5-DF0512E16E70@runrev.com> Didn't get your email! I'll take a look at your subscription settings, but most likely its a spam filter somewhere at your end... cheers Heather On Aug 1, 2008, at 2:45 AM, Shari wrote: > Sorry for the intrude. My connection to the list broke and I'm > attempting to repair it. Even mailing the listmom failed, assuming > that email to me didn't come thru either. > > I miss you guys! > > Shari > -- > Dogs and bears, sports and cars, and patriots t-shirts > http://www.villagetshirts.com > WlND0WS and MAClNT0SH shareware games > http://www.gypsyware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > Heather Nagey Customer Services Manager Runtime Revolution Ltd www.runrev.com From hbaric at gmail.com Fri Aug 1 04:27:11 2008 From: hbaric at gmail.com (H Baric) Date: Fri, 1 Aug 2008 18:27:11 +1000 Subject: My Notepad Style Project Message-ID: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA> Hi all, this is my first post. Hope it works! I'm making a very simple Text File Editor, based pretty much exactly on Window's Notepad, for the sake of learning. I've been trying to find a way to set the Edit field to non-formatted text when copying and pasting text from web-pages and other applications for example. What would be the best way to ensure that the editing field cannot be formatted in any way (like Notepad and other basic text editors)? Is it possible? How (and where) would I script this? Thanks in advance :) Cheers, Heather From eric.chatonet at sosmartsoftware.com Fri Aug 1 04:47:06 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Aug 2008 10:47:06 +0200 Subject: My Notepad Style Project In-Reply-To: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA> References: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA> Message-ID: <48296551-F38B-4A52-9391-07CEDC5AE699@sosmartsoftware.com> Bonjour Heather, Welcome to the list :-) First you have to check the clipboard contents to accept text only: if the clipboard is "text" then... Then use the clipboardData["text"] that is unformatted text: put the clipboardData["text"] into fld < Edit field> To handle the paste shortcut: on commandKeyDown pKey if pKey = "v" then... else pass commandKeyDown end commandKeyDown You can use the pasteKey message also but it will work in a standalone only. Last but not least, you'll have to struggle with the selectedChunk to paste at the right place or replace some selected text. Good luck :-) Le 1 ao?t 08 ? 10:27, H Baric a ?crit : > Hi all, this is my first post. Hope it works! > > I'm making a very simple Text File Editor, based pretty much > exactly on Window's Notepad, for the sake of learning. > > I've been trying to find a way to set the Edit field to non- > formatted text when copying and pasting text from web-pages and > other applications for example. > > What would be the best way to ensure that the editing field cannot > be formatted in any way (like Notepad and other basic text editors)? > > Is it possible? How (and where) would I script this? Thanks in > advance :) > > Cheers, > Heather Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From luis at anachreon.co.uk Fri Aug 1 05:54:34 2008 From: luis at anachreon.co.uk (Luis) Date: Fri, 1 Aug 2008 10:54:34 +0100 Subject: Thanks, Joe In-Reply-To: References: Message-ID: <079B75D7-90B4-49F1-9F0B-38DB7921A7E6@anachreon.co.uk> Check to see if your ISP is filtering. They may have 'upgraded' their AV/Spam solutions. Cheers, Luis. On 1 Aug 2008, at 03:09, Shari wrote: > Still not working. You guys are getting me but I'm not receiving. > My filters have every known version of Rev in it to accept, but no > go. I'm totally baffled. > > At least I know I can post a question and troll the archives for > answers :-) > > Shari > -- > Dogs and bears, sports and cars, and patriots t-shirts > http://www.villagetshirts.com > WlND0WS and MAClNT0SH shareware games > http://www.gypsyware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From hbaric at gmail.com Fri Aug 1 06:14:00 2008 From: hbaric at gmail.com (H Baric) Date: Fri, 1 Aug 2008 20:14:00 +1000 Subject: My Notepad Style Project References: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA> <48296551-F38B-4A52-9391-07CEDC5AE699@sosmartsoftware.com> Message-ID: <002101c8f3bf$527101e0$0a01010a@ANNIESPUTA> Hi Eric, thanks for your help, it works perfectly :) Well, this is what I ended up using (in the stack script) Can you see if there is any problem writing it like this? I'm still VERY new to scripting :D: on commandKeyDown pKey if pKey = "v" then if the clipboard is "text" then put the clipboardData[text] into field "Edit" end if else pass commandKeyDown end commandKeyDown Yes, and er now to work out how to handle the replacing etc. Ack. So many things to think about isn't there hehe... :D Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Friday, August 01, 2008 6:47 PM Subject: Re: My Notepad Style Project Bonjour Heather, Welcome to the list :-) First you have to check the clipboard contents to accept text only: if the clipboard is "text" then... Then use the clipboardData["text"] that is unformatted text: put the clipboardData["text"] into fld < Edit field> To handle the paste shortcut: on commandKeyDown pKey if pKey = "v" then... else pass commandKeyDown end commandKeyDown You can use the pasteKey message also but it will work in a standalone only. Last but not least, you'll have to struggle with the selectedChunk to paste at the right place or replace some selected text. Good luck :-) Le 1 ao?t 08 ? 10:27, H Baric a ?crit : > Hi all, this is my first post. Hope it works! > > I'm making a very simple Text File Editor, based pretty much > exactly on Window's Notepad, for the sake of learning. > > I've been trying to find a way to set the Edit field to non- > formatted text when copying and pasting text from web-pages and > other applications for example. > > What would be the best way to ensure that the editing field cannot > be formatted in any way (like Notepad and other basic text editors)? > > Is it possible? How (and where) would I script this? Thanks in > advance :) > > Cheers, > Heather Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Fri Aug 1 06:20:22 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Aug 2008 12:20:22 +0200 Subject: My Notepad Style Project In-Reply-To: <002101c8f3bf$527101e0$0a01010a@ANNIESPUTA> References: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA> <48296551-F38B-4A52-9391-07CEDC5AE699@sosmartsoftware.com> <002101c8f3bf$527101e0$0a01010a@ANNIESPUTA> Message-ID: <3FA83634-6E22-41C3-9932-E303F880D5CB@sosmartsoftware.com> Bonjour Heather, Glad to help you :-) Your handler is perfect. About inserting or replacing text have a look at selectedField, selectedChunk and selectedText functions in the docs. When you will master that you might think about implementing drag and drop text into your "Edit" field: Then you will have something more powerful than Note Pad :-) Le 1 ao?t 08 ? 12:14, H Baric a ?crit : > Hi Eric, thanks for your help, it works perfectly :) > > Well, this is what I ended up using (in the stack script) > Can you see if there is any problem writing it like this? > I'm still VERY new to scripting :D: > > on commandKeyDown pKey > > if pKey = "v" then > > if the clipboard is "text" then > > put the clipboardData[text] into field "Edit" > > end if > > else pass commandKeyDown > > end commandKeyDown > > > Yes, and er now to work out how to handle the replacing etc. Ack. > So many > things to think about isn't there hehe... :D > > Heather > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Friday, August 01, 2008 6:47 PM > Subject: Re: My Notepad Style Project > > > Bonjour Heather, > > Welcome to the list :-) > > First you have to check the clipboard contents to accept text only: > if the clipboard is "text" then... > Then use the clipboardData["text"] that is unformatted text: > put the clipboardData["text"] into fld < Edit field> > > To handle the paste shortcut: > > on commandKeyDown pKey > if pKey = "v" then... > else pass commandKeyDown > end commandKeyDown > > You can use the pasteKey message also but it will work in a > standalone only. > Last but not least, you'll have to struggle with the selectedChunk to > paste at the right place or replace some selected text. > Good luck :-) > > Le 1 ao?t 08 ? 10:27, H Baric a ?crit : > >> Hi all, this is my first post. Hope it works! >> >> I'm making a very simple Text File Editor, based pretty much >> exactly on Window's Notepad, for the sake of learning. >> >> I've been trying to find a way to set the Edit field to non- >> formatted text when copying and pasting text from web-pages and >> other applications for example. >> >> What would be the best way to ensure that the editing field cannot >> be formatted in any way (like Notepad and other basic text editors)? >> >> Is it possible? How (and where) would I script this? Thanks in >> advance :) >> >> Cheers, >> Heather Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sundown at pacifier.com Fri Aug 1 06:50:57 2008 From: sundown at pacifier.com (-= JB =-) Date: Fri, 1 Aug 2008 03:50:57 -0700 Subject: list of USB drivers In-Reply-To: <48927A54.7050509@pdslabs.net> References: <70D710E5-A524-427F-AEC4-73BD6AD2BFB0@pacifier.com> <55DF0FAF-BBDE-49D5-943C-C2562CC0A337@pacifier.com> <52280EB7-3E5B-45AA-9AA7-4EFB0E7E8F03@pacifier.com> <4A15DE38-2421-4D4D-9FAC-8E6E3C7E875E@pacifier.com> <48924137.6060102@pdslabs.net> <033429E1-CEC3-4AF9-ADF9-4F1C2D06A056@pacifier.com> <48927A54.7050509@pdslabs.net> Message-ID: Hi Phil, Thank you for the info and code. -=>JB<=- On Jul 31, 2008, at 7:52 PM, Phil Davis wrote: > Hi JB, > > -= JB =- wrote: >> Hi Phil, >> >> I tried it and when I click the button to list the USB drives >> the field on the left gets a blue selection line at the top >> and nothing else happens. > > That means the library didn't find any mounted USB mass storage > devices. > >> >> In fact it was your code to list the USB3 devices in the >> Scripter's Scrapbook that I got the shell command from. >> That code would not work for me either. >> >> I have Mac OS X 10.4.11 on a G4 AGP. >> >> thanks, if you know how to fix it I would be interested. >> >> Another thing. do you know how to access a USB device >> with only the info it gets. > > Not really, unless the volume name is included in the library output. > >> How do you properly write the >> line to access it. I know when I list the drivers I have a >> keyspan serial and the info the system profiler provides >> is not the same as if I list the drivers. I am pretty sure I >> need to use the info from listing the drivers. Is the thing >> it needs to show as a volume or be listed with the drivers >> to be able to access a USB device that shows up? >> >> -=>JB<=- > > Drivers are useful if you're trying to interact with a USB > communications class device (like a USB board that controls some > external machine or process), but not if you want to read/write > data to/from a USB mass storage device. > > Some USB mass storage devices (specifically some digital cameras) > use Picture Transfer Protocol (PTP) to transfer images to > computers; devices that use PTP don't show up in Revs "the volumes" > list. > > Here's a function based on one written by Dar Scott & Ken Ray a few > years ago. It will give you more info about available drivers than > driverNames(). I use it to detect what USB communications class > devices are connected. Maybe it will help. Watch for line wraps! > > > function deviceNames > switch the platform > case "MacOS" > return _macDeviceNames() > break > default > answer "Not supported." > exit to top > break > end switch > end deviceNames > > > function _macDeviceNames > local theNames="", ioregOutput, skipLines, temp > local IOTTYDevice, IODialinDevice, IOCalloutDevice > set the hideConsoleWindows to true > put shell("ioreg -n IOSerialBSDClient") into ioregOutput > repeat forever > put lineOffset("IOSerialBSDCLient",ioregOutput) into skipLines > if skipLines is zero then return thenames > delete line 1 to skipLines of ioregOutput > -- Get all the data between the braces > put char(offset("{",ioregOutput)) to (offset("}",ioregOutput)) > of ioregOutput into temp > get matchText(temp,"\"IOTTYDevice\" = \"(.*?)\"",IOTTYDevice) > if it is not true then next repeat > get matchText(temp,"\"IODialinDevice\" = \"(.*?) > \"",IODialinDevice) > if it is not true then next repeat > get matchText(temp,"\"IOCalloutDevice\" = \"(.*?) > \"",IOCalloutDevice) > if it is not true then next repeat > put IOTTYDevice,IODialinDevice,IOCalloutDevice & lineFeed > after theNames > end repeat > end _macDeviceNames > > > > >> >> >> >> On Jul 31, 2008, at 3:48 PM, Phil Davis wrote: >> >>> Hi JB, >>> >>> Try this: >>> http://pdslabs.net/stacks/libUsbDrive.rev.zip >>> >>> It uses system_profiler on the Mac to get drive info, but >>> presents it more succinctly. >>> >>> Phil Davis >>> >>> >>> -= JB =- wrote: >>>> This will provide some info about the USB on Mac OS X; >>>> >>>> on mouseUp >>>> put shell("system_profiler SPUSBDataType") into tProfile >>>> put tProfile >>>> end mouseUp >>>> >>>> -=>JB<=- >>>> >>>> >>>> >>>> On Jul 30, 2008, at 5:13 PM, -= JB =- wrote: >>>> >>>>> Maybe that is not the answer. I found out it shows network >>>>> all the time when I use put the volumes. >>>>> >>>>> So how do I identify a list of USB devices? >>>>> >>>>> -=>JB<=- >>>>> >>>>> >>>>> >>>>> On Jul 30, 2008, at 5:08 PM, -= JB =- wrote: >>>>> >>>>>> Here is the answer: >>>>>> >>>>>> put the volumes >>>>>> >>>>>> -=>JB<=- >>>>>> >>>>>> >>>>>> On Jul 30, 2008, at 5:02 PM, -= JB =- wrote: >>>>>> >>>>>>> I realize my question below was not asked properly because I >>>>>>> should have said USB devices and not drivers. >>>>>>> >>>>>>> Use the open driver command to communicate with usb devices, >>>>>>> devices attached to a serial port other than the modem and >>>>>>> printer port, and other peripheral devices. >>>>>>> >>>>>>> I would like to know how to find the names of USB devices >>>>>>> hooked up >>>>>>> to my computer. >>>>>>> >>>>>>> -=>JB<=- >>>>>>> >>>>>>> >>>>>>> On Jul 30, 2008, at 4:18 PM, -= JB =- wrote: >>>>>>> >>>>>>>> I can get a list of the available serial drivers by using >>>>>>>> the driverNames. >>>>>>>> How do I get a list of USB drivers? >>>>>>>> >>>>>>>> -=>JB<=- >>>>>>>> _______________________________________________ >>>>>>>> use-revolution mailing list >>>>>>>> use-revolution at lists.runrev.com >>>>>>>> Please visit this url to subscribe, unsubscribe and manage >>>>>>>> your subscription preferences: >>>>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-revolution mailing list >>>>>>> use-revolution at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage >>>>>>> your subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> use-revolution mailing list >>>>>> use-revolution at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage >>>>>> your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>>> >>>>> >>>>> _______________________________________________ >>>>> use-revolution mailing list >>>>> use-revolution at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>>> >>>> >>>> _______________________________________________ >>>> use-revolution mailing list >>>> use-revolution at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-revolution >>>> >>> >>> -- >>> 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 >>> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 sundown at pacifier.com Fri Aug 1 07:12:14 2008 From: sundown at pacifier.com (-= JB =-) Date: Fri, 1 Aug 2008 04:12:14 -0700 Subject: list of USB drivers In-Reply-To: <48927A54.7050509@pdslabs.net> References: <70D710E5-A524-427F-AEC4-73BD6AD2BFB0@pacifier.com> <55DF0FAF-BBDE-49D5-943C-C2562CC0A337@pacifier.com> <52280EB7-3E5B-45AA-9AA7-4EFB0E7E8F03@pacifier.com> <4A15DE38-2421-4D4D-9FAC-8E6E3C7E875E@pacifier.com> <48924137.6060102@pdslabs.net> <033429E1-CEC3-4AF9-ADF9-4F1C2D06A056@pacifier.com> <48927A54.7050509@pdslabs.net> Message-ID: Thanks again to you and Sarah, for the PDF. about USB and keyspan. I would have replied from the original post but I deleted by accident & then had to use the archives to retrieve the link. -=>JB<=- From m.schonewille at economy-x-talk.com Fri Aug 1 07:31:48 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 1 Aug 2008 13:31:48 +0200 Subject: Time Server Message-ID: Hello, A little freeware library with scripts to retrieve the time from a time server is available from the Economy-x-Talk website. It is called Network Time Protocol over Telnet and is available from the developers section of the website. Click on the Developers button in the left margin and find the stack at the bottom of the page. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. From m.schonewille at economy-x-talk.com Fri Aug 1 07:35:56 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 1 Aug 2008 13:35:56 +0200 Subject: Time Server In-Reply-To: <7c87a2a10807282116q46ba6b71ob4a1ae104a77f601@mail.gmail.com> References: <6A83A125-CB97-4A3A-A6C1-48374FB9234E@economy-x-talk.com> <7c87a2a10807282116q46ba6b71ob4a1ae104a77f601@mail.gmail.com> Message-ID: <187E834B-2DDE-40B3-A4A2-4D6126220FE5@economy-x-talk.com> Hi Andre, Thanks for the advice. I'll consider it for the next version. I'm going to change it anyway, because I want to hook directly into the network time protocol and avoid using telnet. Currently, I am only retrieving the time. I'm slowly getting familiar with the protocol and will probably apply the necessary math at some point. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 29 jul 2008, at 06:16, Andre Garzia wrote: > Mark, > > I've implemented a couple servers for tiny protocols and have looked a > little into SNTP some years ago. Are you aware of the latency issue > right and the math you need to do to compute the delay between the > server answering stuff and you actually receiving it. I've looked into > the RFC and some other docs and decided against implementing SNTP > readers, the math was kinda confusing. > > As for the line: > > read from socket theServer with message "rcvTime" > > you might want to change that to some other command with some > termination clause, I can't recall the protocol of SNTP but use > something like read ... until or read for ## bytes and use a buffered > read operation. I've found that plain read calls can block till > eternity and should be avoided. > > Andre > From janschenkel at yahoo.com Fri Aug 1 07:43:31 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 1 Aug 2008 04:43:31 -0700 (PDT) Subject: My Notepad Style Project In-Reply-To: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA> Message-ID: <351876.63224.qm@web65408.mail.ac4.yahoo.com> --- H Baric wrote: > Hi all, this is my first post. Hope it works! > > I'm making a very simple Text File Editor, based > pretty much exactly on Window's Notepad, for the > sake of learning. > > I've been trying to find a way to set the Edit field > to non-formatted text when copying and pasting text > from web-pages and other applications for example. > > What would be the best way to ensure that the > editing field cannot be formatted in any way (like > Notepad and other basic text editors)? > > Is it possible? How (and where) would I script this? > Thanks in advance :) > > Cheers, > Heather > Hi Heather, Welcome to the Revolution community - you'll be sure to receive lots of help as you're getting to know the product we all love. The one-line solution to strip the style information from a text field is: put the text of field "MyField" into field "MyField" Now, if you want this to happen whenever the user pastes more text into a field or drags-and-drops from another field or another application, you'd have a script similar to this: ## on pasteKey send "StripStyles" to me in 0 milliseconds pass pasteKey end pasteKey on dragDrop send "StripStyles" to me in 0 milliseconds pass dragDrop end dragDrop on StripStyles -- save the current selection put the selectedChunk of me into tSelectedChunk -- strip the style information put the text of me into me -- restore the selection select tSelectedChunk end StripStyles ## Hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From janschenkel at yahoo.com Fri Aug 1 07:46:38 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Fri, 1 Aug 2008 04:46:38 -0700 (PDT) Subject: Database Query Builder In-Reply-To: <9B2B8BBE-09EA-429F-A270-28A63D954922@snet.net> Message-ID: <548423.45661.qm@web65406.mail.ac4.yahoo.com> --- Kurt Kaufman wrote: > Is the Database Query Builder designed to be used > only within the IDE, > or can its functionality be exported into a > standalone application (as > a sort of "core" for a stack --> standalone)? > Sorry if this is a FAQ; I haven't fully explored > this area of > Revolution yet. > > -Kurt > Hi Kurt, As the Database Query Builder is jhust another stack, you can take it apart and look at its scripts; while it does have some IDE-specific dependencies, you can learn enough to make your own derivative. What exactly are you trying to accomplish? Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From shari at gypsyware.com Fri Aug 1 10:08:54 2008 From: shari at gypsyware.com (Shari) Date: Fri, 1 Aug 2008 10:08:54 -0400 Subject: Attempting to troubleshoot my connection to this list In-Reply-To: <02857D21-6AAF-4BF7-96B5-DF0512E16E70@runrev.com> References: <02857D21-6AAF-4BF7-96B5-DF0512E16E70@runrev.com> Message-ID: Heather, I solved it. I don't use automated spam filters but roll my own. The issue was this: I have a list of acceptable To addresses, so that someone cannot spam my domains with something at gypsyware.com, somethingElse at gypsyware.com, sort of thing. So if the incoming mails are not addressed to the right email addy, they go poof. I don't know how it happened but the incoming list emails added my name in front of the email addy. "goodAddy at gypsyware.com" became "Shari " and that made it fail. Shari >Didn't get your email! > >I'll take a look at your subscription settings, but most likely its >a spam filter somewhere at your end... > >cheers > >Heather -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From kkaufman at snet.net Fri Aug 1 10:17:39 2008 From: kkaufman at snet.net (Kurt Kaufman) Date: Fri, 1 Aug 2008 10:17:39 -0400 Subject: Database Query Builder Message-ID: Thanks, Jan. I'm looking into the possibility of redesigning an accounts-receivable program that currently is written entirely in Revolution. I have it designed to allow a limited form of multi-user access, but it's cumbersome, and a switch to a SQL database would leverage that arrangement's natural advantages. To start, I'll read the manual, do the tutorials, etc. before I ask additional questions. thanks again, Kurt From stephenREVOLUTION2 at barncard.com Fri Aug 1 11:15:25 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Fri, 1 Aug 2008 08:15:25 -0700 Subject: Attempting to troubleshoot my connection to this list In-Reply-To: References: <02857D21-6AAF-4BF7-96B5-DF0512E16E70@runrev.com> Message-ID: So for anyone to email you, they have to OPT IN ? Pretty exclusive club! :) sqb >Heather, > >I solved it. I don't use automated spam filters but roll my own. > >The issue was this: I have a list of acceptable To addresses, so >that someone cannot spam my domains with something at gypsyware.com, >somethingElse at gypsyware.com, sort of thing. So if the incoming >mails are not addressed to the right email addy, they go poof. > >I don't know how it happened but the incoming list emails added my >name in front of the email addy. > >"goodAddy at gypsyware.com" became "Shari " and >that made it fail. > >Shari > -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From shari at gypsyware.com Fri Aug 1 11:19:42 2008 From: shari at gypsyware.com (Shari) Date: Fri, 1 Aug 2008 11:19:42 -0400 Subject: Attempting to troubleshoot my connection to this list In-Reply-To: References: <02857D21-6AAF-4BF7-96B5-DF0512E16E70@runrev.com> Message-ID: >So for anyone to email you, they have to OPT IN ? Pretty exclusive club! :) > >sqb What... you wanna join? :-) Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From psahores at free.fr Fri Aug 1 11:41:23 2008 From: psahores at free.fr (Pierre Sahores) Date: Fri, 1 Aug 2008 17:41:23 +0200 Subject: 3.0.0-dp-8 available In-Reply-To: <4889FAC2.20900@runrev.com> References: <4889FAC2.20900@runrev.com> Message-ID: <648E4015-E2B7-4B7B-8BD3-FA1B51811B71@free.fr> Dear Rev Team ! Just a quick note to let you know how happy and lucky i feel :-) I went able to test extensivelly and successfully Bernard DP-8 in running a complex AI Business Intelligence app i'm developping at this time. All the tested platforms (see below) gived the same very good results (stability, speed, script editor/debugger,...) and i don't think i will go back to Rev 2.9.0 anymore. Results of tests in native mode : - Mac OS X Leopard 10.5.4 (client and server app components native devlopment platform) : App runs 100% OK - Win XP Pro SP2 (native client component deployment platform) : App runs 100% OK Results of tests as Sun's VirtualBox 1.6.2 virtual machines : - Win XP Pro SP2 (native client component deployment platform) : App runs 100% OK - Debian Etch x86 (native server component prefered deployment platform) : App runs 100% OK - Ubuntu 8.04 x86 (native server component possible deployment platform) : App runs 100% OK - openSuse 11 x86 (native server component possible deployment platform) : App runs 100% OK Thanks so much for being providing us such new professional-grade quality standards. Kind Regards to you all, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 25 juil. 08 ? 18:09, Oliver Kenyon a ?crit : > Hi all, > > I'm pleased to announce that 3.0.0-dp-8 is available via Check For > Updates on Windows and Mac OS X. > > This build contains a number of bug fixes to both the engine and IDE, > and the first version of a new variable watcher, which supports > multi-dimensional arrays. > > The bug fixes include regressions of recent developer previews and > also > some older bugs. Please see the IDE and engine change logs for more > information. > > As well as allowing multi-dimensional arrays to be viewed, the new > variable watcher can change variable values while debugging and view > them in more detail in a separate window. We think that it also uses > screen space more efficiently. > > For those of you wishing to install on Linux, or to do a full install > the necessary downloads are here: > > > > > > > > > Warmest Regards, > Oliver > > _______________________________________________ > improve-revolution mailing list > improve-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/improve-revolution From geradamas at yahoo.com Fri Aug 1 11:53:21 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 1 Aug 2008 08:53:21 -0700 (PDT) Subject: List of HyperCard Icons Message-ID: <110355.32370.qm@web37505.mail.mud.yahoo.com> Lynn Fredricks wrote: "Has anyone exported all the icons from HyperCard? I do indeed have it, but its thriving quite nicely on an old SE 30 and rather inaccessible. What I am looking for is hopefully an export of the icons into a format that's a bit more modern - jpg, png, etc." and I have spent a long time guttering about with Resedit and Metacard under OS 9 to create a stack with all the HC icons in sequential contiguous order. So now have a very pretty stack with all the icons in the resource fork (that will be fun on Windows or Linux) and a series of 50 x 50 buttons sporting those icons. So am slightly cheesed-off as cannot for the life of me work out how to export images of buttons from RR. Obviously being stupid and missing something right in front of my nose. Go on, I dare you, tell me how to do it . . . Of course, if I wanted to be nasty I could point out to Lynn that things would probably be a lot quicker with a USB floppy drive and a batch converter such as Graphic Converter! And while I'm here, does anyone know the legal status of HyperCard icons; or, put it another way, if I upload a RR/MC stack with them and/or jpg/png files will Steve Jobs smack my hand? sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Fri Aug 1 12:31:43 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 1 Aug 2008 09:31:43 -0700 (PDT) Subject: HyperCard Icons: Here they are! Message-ID: <614718.12935.qm@web37507.mail.mud.yahoo.com> A stack containing the HyperCard icons as JPEG images is available at: http://mail.maclaunch.com/richmond/HC ICONS.rev.zip sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Fri Aug 1 12:42:17 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 1 Aug 2008 09:42:17 -0700 (PDT) Subject: HyperCard Icons: Here they are as JPGs. Message-ID: <619449.6185.qm@web37508.mail.mud.yahoo.com> For those of you who want them as JPEG files they are available in a convenient ZIP file: http://mail.maclaunch.com/richmond/HCICONS.zip sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Fri Aug 1 12:43:32 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 1 Aug 2008 09:43:32 -0700 (PDT) Subject: HC icons as Jpegs. Message-ID: <613298.78768.qm@web37501.mail.mud.yahoo.com> Here are the HyperCard icons in a convenient ZIP file as JPGs: http://mail.maclaunch.com/richmond/HCICONS.zip sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From sundown at pacifier.com Fri Aug 1 12:59:10 2008 From: sundown at pacifier.com (-= JB =-) Date: Fri, 1 Aug 2008 09:59:10 -0700 Subject: HyperCard Icons: Here they are as JPGs. In-Reply-To: <619449.6185.qm@web37508.mail.mud.yahoo.com> References: <619449.6185.qm@web37508.mail.mud.yahoo.com> Message-ID: Thank you, very nice! -=>JB<=- On Aug 1, 2008, at 9:42 AM, Richmond Mathewson wrote: > For those of you who want them as JPEG files they are available in > a convenient ZIP file: > > http://mail.maclaunch.com/richmond/HCICONS.zip > > sincerely, Richmond Mathewson > > ____________________________________________________________ > > A Thorn in the flesh is better than a failed Systems Development > Life Cycle. > ____________________________________________________________ > > > __________________________________________________________ > Not happy with your email address?. > Get the one you really want - millions of new email addresses > available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lfredricks at proactive-intl.com Fri Aug 1 13:04:14 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 1 Aug 2008 10:04:14 -0700 Subject: HC icons as Jpegs. In-Reply-To: <613298.78768.qm@web37501.mail.mud.yahoo.com> References: <613298.78768.qm@web37501.mail.mud.yahoo.com> Message-ID: <01df01c8f3f8$a05eb760$6501a8c0@GATEWAY> Hi Richmond, > Here are the HyperCard icons in a convenient ZIP file as JPGs: > > http://mail.maclaunch.com/richmond/HCICONS.zip Thanks man :-) Some look repeated, but don't they have slight differences for animations? These are also the identifier names in Res Edit, right? Been a long time since I used Res Edit - from back in the days when I had a different company that did localization. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From cszasz at mac.com Fri Aug 1 14:40:47 2008 From: cszasz at mac.com (Charles Szasz) Date: Fri, 1 Aug 2008 11:40:47 -0700 (PDT) Subject: Advanced UI Blind Effect Message-ID: <18780413.post@talk.nabble.com> Did anyone get the Rev Tutorial on Advanced Blind Effect to work? I have been unable to get it to work. If anyone has gotten it to work, could you share the stack with me? -- View this message in context: http://www.nabble.com/Advanced-UI-Blind-Effect-tp18780413p18780413.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Fri Aug 1 14:42:10 2008 From: cszasz at mac.com (Charles Szasz) Date: Fri, 1 Aug 2008 11:42:10 -0700 (PDT) Subject: HC icons as Jpegs. In-Reply-To: <613298.78768.qm@web37501.mail.mud.yahoo.com> References: <613298.78768.qm@web37501.mail.mud.yahoo.com> Message-ID: <18780459.post@talk.nabble.com> Richmond, Thanks for taking time to put them in a stack! Here are the HyperCard icons in a convenient ZIP file as JPGs: -- View this message in context: http://www.nabble.com/HC-icons-as-Jpegs.-tp18778512p18780459.html Sent from the Revolution - User mailing list archive at Nabble.com. From eric.chatonet at sosmartsoftware.com Fri Aug 1 15:03:47 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Fri, 1 Aug 2008 21:03:47 +0200 Subject: HC icons as Jpegs. In-Reply-To: <01df01c8f3f8$a05eb760$6501a8c0@GATEWAY> References: <613298.78768.qm@web37501.mail.mud.yahoo.com> <01df01c8f3f8$a05eb760$6501a8c0@GATEWAY> Message-ID: Bonjour Lynn et Richmond and Charles, Le 1 ao?t 08 ? 19:04, Lynn Fredricks a ?crit : > Hi Richmond, > >> Here are the HyperCard icons in a convenient ZIP file as JPGs: >> >> http://mail.maclaunch.com/richmond/HCICONS.zip > > Thanks man :-) I need to be enlightened: But don't take it bad :-) What is this HC nostalgia? These icons are about twenty five years old! And BW only. If I used them in any project, my clients would got scared ;-) Above all, coming from you, Lynn, with respect to your attributions in Runrev, I don't understand: Rev allows any 32 bits image, with alpha channel or not, and whatever can be it's size, to be an icon. Did you miss it? ;-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From geradamas at yahoo.com Fri Aug 1 15:05:17 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Fri, 1 Aug 2008 12:05:17 -0700 (PDT) Subject: HyperCard Icons: Here they are as PINGS! Message-ID: <489044.21095.qm@web37506.mail.mud.yahoo.com> For those of you who like PNGs: http://mail.maclaunch.com/richmond/HCPING.zip sincerely, Richmond Mathewson ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From ambassador at fourthworld.com Fri Aug 1 17:17:48 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Aug 2008 14:17:48 -0700 Subject: Citrix and printing from Rev Message-ID: <48937D7C.4080901@fourthworld.com> I understand that some version of Rev prior to v2.8.1 had some issues with certain configurations of Citrix. With v2.8.1 or later, have any of you seen issues with printing when running over Citrix? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From christian.langers at education.lu Fri Aug 1 19:05:09 2008 From: christian.langers at education.lu (Christian Langers) Date: Sat, 2 Aug 2008 01:05:09 +0200 Subject: 3.0.0-dp-8 available In-Reply-To: <648E4015-E2B7-4B7B-8BD3-FA1B51811B71@free.fr> References: <4889FAC2.20900@runrev.com> <648E4015-E2B7-4B7B-8BD3-FA1B51811B71@free.fr> Message-ID: <9A7B5406-FE98-406A-ACCD-AE05530D770A@education.lu> Hello ! I'll too express my overall positive interface experience !!! But, I think one should know that on a Mac running Mac Os X 10.5.x working with databases had given me a little headache : - every time I tried to connect to a sqlite db, Rev returned an error ; even when I ran the command ' put revOpenDatabase("sqlite", "test.db",,,,) ' in the message box just after Rev's startup and Rev answered with an error... I have a db based project which works well in version 2.9.0 but not in 3 ; same issue with the connection... I RESOLVED the issue by downloading and using the Legacy DB drivers (see preferences:compatibility) ; it seems that Rev 3 cannot run without these drivers (on a Mac)... Can anyone else confirm this ? Thx, Christian from Luxembourg Le 1 ao?t 08 ? 17:41, Pierre Sahores a ?crit : > Dear Rev Team ! > > Just a quick note to let you know how happy and lucky i feel :-) > > I went able to test extensivelly and successfully Bernard DP-8 in > running a complex AI Business Intelligence app i'm developping at > this time. > > All the tested platforms (see below) gived the same very good > results (stability, speed, script editor/debugger,...) and i don't > think i will go back to Rev 2.9.0 anymore. > > Results of tests in native mode : > > - Mac OS X Leopard 10.5.4 (client and server app components native > devlopment platform) : App runs 100% OK > - Win XP Pro SP2 (native client component deployment platform) : App > runs 100% OK > > Results of tests as Sun's VirtualBox 1.6.2 virtual machines : > > - Win XP Pro SP2 (native client component deployment platform) : App > runs 100% OK > - Debian Etch x86 (native server component prefered deployment > platform) : App runs 100% OK > - Ubuntu 8.04 x86 (native server component possible deployment > platform) : App runs 100% OK > - openSuse 11 x86 (native server component possible deployment > platform) : App runs 100% OK > > Thanks so much for being providing us such new professional-grade > quality standards. > > Kind Regards to you all, > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > > > Le 25 juil. 08 ? 18:09, Oliver Kenyon a ?crit : > >> Hi all, >> >> I'm pleased to announce that 3.0.0-dp-8 is available via Check For >> Updates on Windows and Mac OS X. >> >> This build contains a number of bug fixes to both the engine and IDE, >> and the first version of a new variable watcher, which supports >> multi-dimensional arrays. >> >> The bug fixes include regressions of recent developer previews and >> also >> some older bugs. Please see the IDE and engine change logs for more >> information. >> >> As well as allowing multi-dimensional arrays to be viewed, the new >> variable watcher can change variable values while debugging and >> view them in more detail in a separate window. We think that it >> also uses screen space more efficiently. >> >> For those of you wishing to install on Linux, or to do a full install >> the necessary downloads are here: >> >> > > >> > > >> > > >> >> Warmest Regards, >> Oliver >> >> _______________________________________________ >> improve-revolution mailing list >> improve-revolution at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/improve-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 mfstuart at cox.net Fri Aug 1 19:34:24 2008 From: mfstuart at cox.net (mfstuart) Date: Fri, 1 Aug 2008 16:34:24 -0700 (PDT) Subject: Retrieving text within 2 tags Message-ID: <18784278.post@talk.nabble.com> Hi all, RunRev: 2.90 OS: WinXP How would I retrieve text that is within 2 tags, that has been put into a memory variable? The text originated from a web site, using command "put url theURL into tData". Such as: This is some text I would like to retrieve. It is on many lines and all the text has to be return within the tags. Also, the text could have HTML formatting in it. I don't know how to use the XML commands in rev as yet (a possibility), so I would like to use the text chunk commands to do so. TIA. Mark Stuart -- View this message in context: http://www.nabble.com/Retrieving-text-within-2-tags-tp18784278p18784278.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at futilism.com Fri Aug 1 19:55:43 2008 From: lists at futilism.com (Mark Smith) Date: Sat, 2 Aug 2008 00:55:43 +0100 Subject: Retrieving text within 2 tags In-Reply-To: <18784278.post@talk.nabble.com> References: <18784278.post@talk.nabble.com> Message-ID: <60549B89-EFE3-4E76-949C-BAD4FCBE5499@futilism.com> Mark, this is one way (this way only returns the first tag of a give name), but there could be many others. function extractTaggedText pText, pTagName replace "<" & pTagName & ">" with numtochar(4) in pText replace "" with numtochar(4) in pText set the itemdelimiter to numtochar(4) return word 1 to -1 of item 2 of pText end extractTaggedText Best, Mark On 2 Aug 2008, at 00:34, mfstuart wrote: > > Hi all, > > RunRev: 2.90 > OS: WinXP > > How would I retrieve text that is within 2 tags, that has been put > into a > memory variable? > The text originated from a web site, using command "put url theURL > into > tData". > Such as: > > > This is some text I would like to > retrieve. It is on many lines > and all the text has to be return > within the tags. > > Also, the text could have HTML formatting in it. > > > I don't know how to use the XML commands in rev as yet (a > possibility), so I > would like to use the text chunk commands to do so. > > TIA. > Mark Stuart > -- > View this message in context: http://www.nabble.com/Retrieving-text- > within-2-tags-tp18784278p18784278.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 JimAultWins at yahoo.com Fri Aug 1 20:49:56 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Fri, 01 Aug 2008 17:49:56 -0700 Subject: Retrieving text within 2 tags In-Reply-To: <18784278.post@talk.nabble.com> Message-ID: On 8/1/08 4:34 PM, "mfstuart" wrote: > The text originated from a web site, using command "put url theURL into > tData". When ever I retrieve tags from a source I did not create, I use put url theURL into xmlBlock replace cr with empty in xmlBlock --Rev uses char (10) = cr replace numtochar(13) with empty in xmlBlock Now your text is all in a single line replace "<" with (cr & "<") in xmlBlock --now each tag of any kind is on a separate line -------or ------ for your specific case----- replace "" with (cr & "") in xmlBlock replace "" with ("<" & cr) in xmlBlock filter xmlBlock with ("**") --now ALL the remaining lines in xmlBlock are the tags you wanted Eric Chatonet wrote at least one tutorial stack on how to get data from html text. He has written a cleaner function that does a great job. I don't remember just where it is, but it is a winner. Also, Hugh Senior (Scripter's Scrapbook) probably has a few library routines you could use that are good cleaner functions. > I don't know how to use the XML commands in rev as yet (a possibility), so I > would like to use the text chunk commands to do so. The XML in Rev has been a slow way of parsing XML in my experience, and the best place I know is Ken Ray's SonsOThunder.com and his XML parser library. It would have the best speed and is kept up-to-date. Jim Ault Las Vegas On 8/1/08 4:34 PM, "mfstuart" wrote: > > Hi all, > > RunRev: 2.90 > OS: WinXP > > How would I retrieve text that is within 2 tags, that has been put into a > memory variable? > The text originated from a web site, using command "put url theURL into > tData". > Such as: > > > This is some text I would like to > retrieve. It is on many lines > and all the text has to be return > within the tags. > > Also, the text could have HTML formatting in it. > > > I don't know how to use the XML commands in rev as yet (a possibility), so I > would like to use the text chunk commands to do so. > > TIA. > Mark Stuart From userev at canelasoftware.com Sat Aug 2 01:49:44 2008 From: userev at canelasoftware.com (Mark Talluto) Date: Fri, 1 Aug 2008 22:49:44 -0700 Subject: Vista 64 bit edition compatibility In-Reply-To: <915B9889-5284-4919-A756-F3192AAEE098@wehostmacs.com> References: <915B9889-5284-4919-A756-F3192AAEE098@wehostmacs.com> Message-ID: <32E50D64-9596-44C0-ACD6-84492492D871@canelasoftware.com> On Jul 31, 2008, at 11:19 PM, Shao Sean wrote: > I've had some limited tests done on Vista 64-bit and there were some > issues with the application not appearing in the task bar. Thanks for the info Shao. I wrote Rev support and they told me that it seems to run with a few minor issues. The main thing is that it is not supported just yet by the mother ship. I am in no need at the moment, but am getting reports from clients that more and more computers are shipping from local dealers with Vista 64 pre-installed. Mark Talluto http://www.canelasoftware.com From geradamas at yahoo.com Sat Aug 2 04:16:42 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 2 Aug 2008 01:16:42 -0700 (PDT) Subject: Who owns old icons? Message-ID: <531244.95992.qm@web37503.mail.mud.yahoo.com> Having converted the HC icons into JPGs and PNGs I should like to put them somewhere more accessible than buried on my moribund website (Updated it last 3 years ago as it serves almost no purpose); maybe on a Yahoo group, or elsewhere. However, I don't know the legal status of these .jpg and .png images, and don't really want a large fruit breathing down my neck. Would be glad if someone who knows could advise. [It might also be useful to consider the old icons buried in Mac OS 6 and so on] sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From palcibiades-first at yahoo.co.uk Sat Aug 2 04:35:19 2008 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sat, 2 Aug 2008 01:35:19 -0700 (PDT) Subject: Standalone - Using stack as DB In-Reply-To: References: <4891D42A.7060607@fourthworld.com> <41C5AEFE-B688-48FC-9D04-D3B4B2E970C5@sosmartsoftware.com> Message-ID: <18787268.post@talk.nabble.com> Yes, very true. This is, now its pointed out, obviously the underlying source of my power off/saving problem. Its also an argument against using the traditional splash stack and then a real program + data stack, is it not? One should rather have a program main stack, and then data substacks. No need ever to save the program stack since it never changes, just save the data stacks as changed. Is this what you usually do? Eric Chatonet wrote: > > > I should have added that this way of doing never mix any line of code > with user's data in the same file. And I think it important. > > -- View this message in context: http://www.nabble.com/Re%3A-Standalone---Using-stack-as-DB-tp18756589p18787268.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at elementarysoftware.com Sat Aug 2 05:17:48 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 2 Aug 2008 02:17:48 -0700 Subject: Standalone - Using stack as DB In-Reply-To: <18787268.post@talk.nabble.com> References: <4891D42A.7060607@fourthworld.com> <41C5AEFE-B688-48FC-9D04-D3B4B2E970C5@sosmartsoftware.com> <18787268.post@talk.nabble.com> Message-ID: <653DE75B-B783-4502-BFA6-286B1AB5D61C@elementarysoftware.com> Peter, I think a common variation is to have a standalone application (which most "long-timers" try to put minimal code into), a "program main stack" (perhaps with substacks) which can also be a stack file that the standalone loads first to establish the interface (and doesn't need to be saved), and data files which can also be substacks. Then just the data substacks need to be involved with the save process. Keeping the data separate from the everything else has been consistent advice on this list. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Aug 2, 2008, at 1:35 AM, Peter Alcibiades wrote: > > Yes, very true. This is, now its pointed out, obviously the > underlying > source of my power off/saving problem. Its also an argument against > using > the traditional splash stack and then a real program + data stack, > is it > not? One should rather have a program main stack, and then data > substacks. > No need ever to save the program stack since it never changes, just > save the > data stacks as changed. Is this what you usually do? > > > Eric Chatonet wrote: >> >> >> I should have added that this way of doing never mix any line of code >> with user's data in the same file. And I think it important. >> >> > > -- > View this message in context: http://www.nabble.com/Re%3A-Standalone---Using-stack-as-DB-tp18756589p18787268.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 bvg at mac.com Sat Aug 2 08:11:02 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 02 Aug 2008 14:11:02 +0200 Subject: Retrieving text within 2 tags In-Reply-To: <18784278.post@talk.nabble.com> References: <18784278.post@talk.nabble.com> Message-ID: I use two different methods for getting text within tags. One gives the first tag, the second gives every tag. The second one allows to put every single occurrence into an element of an array, which is highly useful in some cases. Also, neither change anything in the original Data, removing the necessity to have it in memory twice. Finally, due to the nature of html, they allow the open tag to contain parameters, as many html tags can look like this:
For getting a single block of text that occurs only once, I'd use this: on mouseUp put url "http://whatever is correct for you/" into theData put "myText" into theTag put offset("<" & theTag, theData)+the number of chars in theTag + 1 into theStart put offset("", theData)-1 into theEnd put char theStart to theEnd of theData end mouseUp I normally use a repeat loop to get stuff within all tags of a certain sort, with setting line- and itemdelimiter. However, this is conceptually a bit strange: on mouseUp put url "http://whatever is correct for you/" into theData put "myText" into theTag set the linedelimiter to "<" set the itemdelimiter to ">" put "" into theResult put false into tagIsOpen repeat for each line theLine in theData if tagIsOpen then if item 1 of theLine is ("/" & theTag) then put false into tagIsOpen next repeat end if put "<" & theLine after theResult end if if char 1 to (the number of chars in theTag) of theLine is theTag then put item 2 to -1 of theLine after theResult put true into tagIsOpen end if end repeat put theResult end mouseUp On 2 Aug 2008, at 01:34, mfstuart wrote: > > Hi all, > > RunRev: 2.90 > OS: WinXP > > How would I retrieve text that is within 2 tags, that has been put > into a > memory variable? > The text originated from a web site, using command "put url theURL > into > tData". > Such as: > > > This is some text I would like to > retrieve. It is on many lines > and all the text has to be return > within the tags. > > Also, the text could have HTML formatting in it. > > > I don't know how to use the XML commands in rev as yet (a > possibility), so I > would like to use the text chunk commands to do so. > > TIA. > Mark Stuart > -- > View this message in context: http://www.nabble.com/Retrieving-text-within-2-tags-tp18784278p18784278.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 tbandi at swissonline.ch Sat Aug 2 08:48:45 2008 From: tbandi at swissonline.ch (Till Bandi) Date: Sat, 2 Aug 2008 14:48:45 +0200 Subject: RevMail strange behaviour in 3.0.0 (dp 9) and leopard Message-ID: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> revMail "guido at example.net" works fine in version 2.9. But in Version 3.0 I get <> in the to-Line. (Apple Mail). If I add the other parameters of the revMail command (Syntax: revMail address[,ccAddress[,mailSubject[,messageBody]]]), as long as the parameters are empty I still get the same indication of the font etc. When I put one (blank or any) character into the second, third or fouth parameter then the "to"- line in Mail is correct. Can anyone confirm this or has an explanation? (I am working with the swiss-german localisation.) Till From eric.chatonet at sosmartsoftware.com Sat Aug 2 09:05:27 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 2 Aug 2008 15:05:27 +0200 Subject: Standalone - Using stack as DB In-Reply-To: <18787268.post@talk.nabble.com> References: <4891D42A.7060607@fourthworld.com> <41C5AEFE-B688-48FC-9D04-D3B4B2E970C5@sosmartsoftware.com> <18787268.post@talk.nabble.com> Message-ID: Bonjour Peter, Actually, splash stack architecture is the best one because it allows you to run you app/exe and Rev IDE simultaneously with the same project. You test the app and correct in the IDE: at next launch of the app, you'll use changes made in the IDE because most of your code is not in the splash stack but in separate stack files. e.g. without having to rebuild an app/exe. Now as for user data, external files are a good choice but you can use stacks also assuming there is not any code in these stacks and they are simple containers you are able to restore (from a template stack kept in a custom property for instance). Le 2 ao?t 08 ? 10:35, Peter Alcibiades a ?crit : > Yes, very true. This is, now its pointed out, obviously the > underlying > source of my power off/saving problem. Its also an argument > against using > the traditional splash stack and then a real program + data stack, > is it > not? One should rather have a program main stack, and then data > substacks. > No need ever to save the program stack since it never changes, just > save the > data stacks as changed. Is this what you usually do? > > > Eric Chatonet wrote: >> >> >> I should have added that this way of doing never mix any line of code >> with user's data in the same file. And I think it important. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Sat Aug 2 09:08:11 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 2 Aug 2008 15:08:11 +0200 Subject: RevMail strange behaviour in 3.0.0 (dp 9) and leopard In-Reply-To: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> References: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> Message-ID: <4E4C8C6F-50F6-46F2-82DF-FE498340C7A1@economy-x-talk.com> Hi Till, It is very well possible that revMail is broken, but I am not sure that we're supposed to discuss 3.0 on the use list. Anyway, starting with Rev 2.9, I was trying to use revGoURL instead, but this didn't work either because the body of the message is encoded incorrectly. Currently, whenever I need to open an e-mail in my mail programme, I use revGoURL in Rev 2.8.1. I believe the syntax looks like this: revGoURL "guido at example.com? subject=foo&to=someone at example.com&body=hello world". You might want to report your problem to the quality center if no one has done so yet and let's hope that it gets fixed with the next release. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 2-aug-2008, om 14:48 heeft Till Bandi het volgende geschreven: > > revMail "guido at example.net" works fine in version 2.9. > > But in Version 3.0 I get < plain;charset=utf-8>> in the to-Line. (Apple Mail). If I add the > other parameters of the revMail command (Syntax: revMail address > [,ccAddress[,mailSubject[,messageBody]]]), as long as the > parameters are empty I still get the same indication of the font > etc. When I put one (blank or any) character into the second, third > or fouth parameter then the "to"- line in Mail is correct. > > Can anyone confirm this or has an explanation? (I am working with > the swiss-german localisation.) > > Till > From index at kenjikojima.com Sat Aug 2 09:22:01 2008 From: index at kenjikojima.com (Kenji Kojima) Date: Sat, 2 Aug 2008 09:22:01 -0400 Subject: RevMail strange behaviour in 3.0.0 (dp 9) and leopard In-Reply-To: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> References: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> Message-ID: revmail does not make a Japanese mail in Version 2.9 on MacOS. It works fine in V.2.8. go to url "http://www.kenjikojima.com/runrev/bugs/revmailTest.rev" I reported it. http://quality.runrev.com/qacenter/show_bug.cgi?id=6521 -- Kenji Kojima http://www.kenjikojima.com/ On Aug 2, 2008, at 8:48 AM, Till Bandi wrote: > > revMail "guido at example.net" works fine in version 2.9. > > But in Version 3.0 I get < plain;charset=utf-8>> in the to-Line. (Apple Mail). If I add the > other parameters of the revMail command (Syntax: revMail > address[,ccAddress[,mailSubject[,messageBody]]]), as long as the > parameters are empty I still get the same indication of the font > etc. When I put one (blank or any) character into the second, third > or fouth parameter then the "to"- line in Mail is correct. > > Can anyone confirm this or has an explanation? (I am working with > the swiss-german localisation.) > > Till > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From klaus at major-k.de Sat Aug 2 09:28:11 2008 From: klaus at major-k.de (Klaus Major) Date: Sat, 2 Aug 2008 15:28:11 +0200 Subject: RevMail strange behaviour in 3.0.0 (dp 9) and leopard In-Reply-To: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> References: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> Message-ID: Hi Till, > revMail "guido at example.net" works fine in version 2.9. > > But in Version 3.0 I get < plain;charset=utf-8>> in the to-Line. (Apple Mail). If I add the > other parameters of the revMail command (Syntax: revMail > address[,ccAddress[,mailSubject[,messageBody]]]), as long as the > parameters are empty I still get the same indication of the font > etc. When I put one (blank or any) character into the second, third > or fouth parameter then the "to"- line in Mail is correct. > > Can anyone confirm this or has an explanation? (I am working with > the swiss-german localisation.) I have no problems with RevMail in 2.9 on a Mac, but on windows, see my bugreport: http://quality.runrev.com/qacenter/show_bug.cgi?id=6432 Not tested with 3.0 yet. > Till Best Klaus Major klaus at major-k.de http://www.major-k.de From hbaric at gmail.com Sat Aug 2 10:12:11 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 00:12:11 +1000 Subject: My Notepad Style Project References: <351876.63224.qm@web65408.mail.ac4.yahoo.com> Message-ID: <00ad01c8f4a9$c310d610$0a01010a@ANNIESPUTA> Hi Jan, Thanks for the one-liner, one to remember! I tried to drag drop text into my field from other sources before trying your script, and it works! So would I still need to use it and why? In a standalone will it still work without the script? Thanks for your advice! Heather ----- Original Message ----- From: "Jan Schenkel" To: "How to use Revolution" Sent: Friday, August 01, 2008 9:43 PM Subject: Re: My Notepad Style Project --- H Baric wrote: > Hi all, this is my first post. Hope it works! > > I'm making a very simple Text File Editor, based > pretty much exactly on Window's Notepad, for the > sake of learning. > > I've been trying to find a way to set the Edit field > to non-formatted text when copying and pasting text > from web-pages and other applications for example. > > What would be the best way to ensure that the > editing field cannot be formatted in any way (like > Notepad and other basic text editors)? > > Is it possible? How (and where) would I script this? > Thanks in advance :) > > Cheers, > Heather > Hi Heather, Welcome to the Revolution community - you'll be sure to receive lots of help as you're getting to know the product we all love. The one-line solution to strip the style information from a text field is: put the text of field "MyField" into field "MyField" Now, if you want this to happen whenever the user pastes more text into a field or drags-and-drops from another field or another application, you'd have a script similar to this: ## on pasteKey send "StripStyles" to me in 0 milliseconds pass pasteKey end pasteKey on dragDrop send "StripStyles" to me in 0 milliseconds pass dragDrop end dragDrop on StripStyles -- save the current selection put the selectedChunk of me into tSelectedChunk -- strip the style information put the text of me into me -- restore the selection select tSelectedChunk end StripStyles ## Hope this helped, Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Sat Aug 2 10:22:54 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 00:22:54 +1000 Subject: My Notepad Style Project References: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA><48296551-F38B-4A52-9391-07CEDC5AE699@sosmartsoftware.com><002101c8f3bf$527101e0$0a01010a@ANNIESPUTA> <3FA83634-6E22-41C3-9932-E303F880D5CB@sosmartsoftware.com> Message-ID: <00b001c8f4ab$42829c20$0a01010a@ANNIESPUTA> Hi Eric, Thanks again! See my last note about drag n drop - seems to work by itself without any script?! HA, not as easy as I'd hoped re the selectedX functions! Well I've been reading and trying out all the docs and tutes about Text processing etc today (on and off as I have a young child to care for) and still scratching my head about how to go about it exactly. I also haven't had a lot of sleep and all these concepts are still so new, like: geeez Chunks? Makes me want to throw up everytime I see that word HAHA! So maybe I'll get it out again and give it more thought tomorrow. I'm determined to work it out myself though, so no need to reply okay, until I beg for a hint ;) I'm onto a new task tonight before I ZZZzzz, but that's my next post... :D Cheers, Heather :) ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Friday, August 01, 2008 8:20 PM Subject: Re: My Notepad Style Project Bonjour Heather, Glad to help you :-) Your handler is perfect. About inserting or replacing text have a look at selectedField, selectedChunk and selectedText functions in the docs. When you will master that you might think about implementing drag and drop text into your "Edit" field: Then you will have something more powerful than Note Pad :-) Le 1 ao?t 08 ? 12:14, H Baric a ?crit : > Hi Eric, thanks for your help, it works perfectly :) > > Well, this is what I ended up using (in the stack script) > Can you see if there is any problem writing it like this? > I'm still VERY new to scripting :D: > > on commandKeyDown pKey > > if pKey = "v" then > > if the clipboard is "text" then > > put the clipboardData[text] into field "Edit" > > end if > > else pass commandKeyDown > > end commandKeyDown > > > Yes, and er now to work out how to handle the replacing etc. Ack. > So many > things to think about isn't there hehe... :D > > Heather > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Friday, August 01, 2008 6:47 PM > Subject: Re: My Notepad Style Project > > > Bonjour Heather, > > Welcome to the list :-) > > First you have to check the clipboard contents to accept text only: > if the clipboard is "text" then... > Then use the clipboardData["text"] that is unformatted text: > put the clipboardData["text"] into fld < Edit field> > > To handle the paste shortcut: > > on commandKeyDown pKey > if pKey = "v" then... > else pass commandKeyDown > end commandKeyDown > > You can use the pasteKey message also but it will work in a > standalone only. > Last but not least, you'll have to struggle with the selectedChunk to > paste at the right place or replace some selected text. > Good luck :-) > > Le 1 ao?t 08 ? 10:27, H Baric a ?crit : > >> Hi all, this is my first post. Hope it works! >> >> I'm making a very simple Text File Editor, based pretty much >> exactly on Window's Notepad, for the sake of learning. >> >> I've been trying to find a way to set the Edit field to non- >> formatted text when copying and pasting text from web-pages and >> other applications for example. >> >> What would be the best way to ensure that the editing field cannot >> be formatted in any way (like Notepad and other basic text editors)? >> >> Is it possible? How (and where) would I script this? Thanks in >> advance :) >> >> Cheers, >> Heather Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Sat Aug 2 10:22:35 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 2 Aug 2008 16:22:35 +0200 Subject: My Notepad Style Project In-Reply-To: <00b001c8f4ab$42829c20$0a01010a@ANNIESPUTA> References: <000801c8f3b0$66afcc90$0a01010a@ANNIESPUTA><48296551-F38B-4A52-9391-07CEDC5AE699@sosmartsoftware.com><002101c8f3bf$527101e0$0a01010a@ANNIESPUTA> <3FA83634-6E22-41C3-9932-E303F880D5CB@sosmartsoftware.com> <00b001c8f4ab$42829c20$0a01010a@ANNIESPUTA> Message-ID: <77DE89EE-2D93-4CB9-A7CD-F53858339DB9@sosmartsoftware.com> Bonjour Heather, Le 2 ao?t 08 ? 16:22, H Baric a ?crit : > seems to work by itself > without any script?! You are right but styles are not stripped as NotePad does it. Rev makes your life easy but sometimes you have to add some snippets ;-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From hbaric at gmail.com Sat Aug 2 10:31:22 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 00:31:22 +1000 Subject: Getting the text content of a HTML page Message-ID: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> Hi again *blush* Okay, this is no doubt something very simple even though I've searched through the docs but can't find exactly how to do this seemingly straightforward task: * Get the text only from a web page - no html tags, no formatting etc. I can get the html doc to appear in my field by using: put url "http://www.thePage.com" into thePage put thePage into field "The Page" (is that correct?) If so, now what? :D Is there an in-built way to do this, or do I need to write a script that kills all the tags?! Thanks so much for your patience of a no0o0obi who's trying real hard to learn all the basics but should be sleeping. Heather :) From eric.chatonet at sosmartsoftware.com Sat Aug 2 10:33:05 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 2 Aug 2008 16:33:05 +0200 Subject: Getting the text content of a HTML page In-Reply-To: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> Message-ID: Re, Le 2 ao?t 08 ? 16:31, H Baric a ?crit : > * Get the text only from a web page - no html tags, no formatting etc. LOL This is a case that needs some additional code snippet as I said in a previous email :-) put StripTags(thePage) into field "The Page" --------------------------------------------------------- function StripTags pHtml -- returns the meaningful text from a web page local tRegex,tPrevText constant kHtml = "é,à,ç,>,<,ecirc;,è,©,•,' ;,·,&" constant kConvertedHtml = "?,?,?,>,<,?,?,?,?,',?,&" ----- replace return with space in pHtml replace numtochar(13) with empty in pHtml replace tab with empty in pHtml ----- put replacetext(pHtml,"(?Usi)","") into pHtml put replacetext(pHtml,"(?Usi)","") into pHtml put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml ----- replace " " with space in pHtml replace "
" with return in pHtml replace "

" with return in pHtml ----- put "<[^><]*>" into tRegex put replacetext(pHtml,tRegex,"") into pHtml put replacetext(pHtml,tRegex,"") into pHtml ----- repeat until tPrevText is pHtml put pHtml into tPrevText put replacetext(pHtml," +",space) into pHtml put replacetext(pHtml,"^ ","") into pHtml end repeat ----- replace (space & return) with return in pHtml replace (return & space) with return in pHtml filter pHtml without empty ----- replace """ with quote in pHtml repeat with i = 1 to the number of items of kHtml replace item i of kHtml with item i of kConvertedHtml in pHtml end repeat ----- return pHtml end StripTags Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From geradamas at yahoo.com Sat Aug 2 10:46:07 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 2 Aug 2008 07:46:07 -0700 (PDT) Subject: System 6 icons as JPEGS. Message-ID: <120655.48049.qm@web37503.mail.mud.yahoo.com> Retro-Fetishists can now download Mac OS System 6 icons as JPEGS: http://mail.maclaunch.com/richmond/SysSix.zip Don't shoot me I'm only the piano player. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From jacque at hyperactivesw.com Sat Aug 2 10:59:11 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 02 Aug 2008 09:59:11 -0500 Subject: Getting the text content of a HTML page In-Reply-To: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> Message-ID: <4894763F.1010800@hyperactivesw.com> H Baric wrote: > Hi again *blush* > > Okay, this is no doubt something very simple even though I've searched through the docs but can't find exactly how to do this seemingly straightforward task: > > * Get the text only from a web page - no html tags, no formatting etc. One simple way is: set the htmltext of fld to the text of fld It isn't perfect but it suffices for most things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From geradamas at yahoo.com Sat Aug 2 11:08:09 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 2 Aug 2008 08:08:09 -0700 (PDT) Subject: Richmond's HC Bits & Bobs Message-ID: <326574.26760.qm@web37507.mail.mud.yahoo.com> Richmond's HC Bits & Bobs Where I'm going to put HC findings from now on. http://tech.groups.yahoo.com/group/RsHYPERCARD/ More of my rubbish! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From hbaric at gmail.com Sat Aug 2 11:19:57 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 01:19:57 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> Message-ID: <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> LOL Eric sorry :D Well, you know I could have thought of that! So simple and obvious really isn't it! I mean, I could have just asked my two year old instead! :-o :-| Well, I was going to just take myself to bed when I saw all that code, but at least I could understand it, and so decided to just tried it out... And it works except - all the CSS remains! (Anyone ever heard of linked stylesheets sheesh!) So rather than add a million more lines to the script (would it ever be complete!), I'm thinking I shall give up for now, at least until tomorrow when I am well slept, and can think up nice little incomplicated things to create for the purpose of keeping the old brain cells alive. Thanks for your help again Eric. Heather, who is determined to be a programmer when she grows up. At 36yrs though, she is wondering if she should just stick to knitting. on knitOne ; select chunk of wool ; tie it in a knot ; create noose ; end knitOne ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Sunday, August 03, 2008 12:33 AM Subject: Re: Getting the text content of a HTML page Re, Le 2 ao?t 08 ? 16:31, H Baric a ?crit : > * Get the text only from a web page - no html tags, no formatting etc. LOL This is a case that needs some additional code snippet as I said in a previous email :-) put StripTags(thePage) into field "The Page" --------------------------------------------------------- function StripTags pHtml -- returns the meaningful text from a web page local tRegex,tPrevText constant kHtml = "é,à,ç,>,<,ecirc;,è,©,•,' ;,·,&" constant kConvertedHtml = "?,?,?,>,<,?,?,?,?,',?,&" ----- replace return with space in pHtml replace numtochar(13) with empty in pHtml replace tab with empty in pHtml ----- put replacetext(pHtml,"(?Usi)","") into pHtml put replacetext(pHtml,"(?Usi)","") into pHtml put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml ----- replace " " with space in pHtml replace "
" with return in pHtml replace "

" with return in pHtml ----- put "<[^><]*>" into tRegex put replacetext(pHtml,tRegex,"") into pHtml put replacetext(pHtml,tRegex,"") into pHtml ----- repeat until tPrevText is pHtml put pHtml into tPrevText put replacetext(pHtml," +",space) into pHtml put replacetext(pHtml,"^ ","") into pHtml end repeat ----- replace (space & return) with return in pHtml replace (return & space) with return in pHtml filter pHtml without empty ----- replace """ with quote in pHtml repeat with i = 1 to the number of items of kHtml replace item i of kHtml with item i of kConvertedHtml in pHtml end repeat ----- return pHtml end StripTags Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Sat Aug 2 11:30:50 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 01:30:50 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <4894763F.1010800@hyperactivesw.com> Message-ID: <010201c8f4b4$bfc5a1b0$0a01010a@ANNIESPUTA> Hi Jacqueline, Thank you, I tried it this way and it displays it as a page rather than a html doc, which is interesting actually! But images and some formatting, as well as the embedded stylesheet/css at the beginning still shows up in the field. I don't mind what happens though, it's all so fascinating. With each experiment, I'm learning / discovereing new things and that's the main goal anyway! :) Cheers, Heather ZzZzz ----- Original Message ----- From: "J. Landman Gay" To: "How to use Revolution" Sent: Sunday, August 03, 2008 12:59 AM Subject: Re: Getting the text content of a HTML page H Baric wrote: > Hi again *blush* > > Okay, this is no doubt something very simple even though I've searched > through the docs but can't find exactly how to do this seemingly > straightforward task: > > * Get the text only from a web page - no html tags, no formatting etc. One simple way is: set the htmltext of fld to the text of fld It isn't perfect but it suffices for most things. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Sat Aug 2 12:44:45 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 2 Aug 2008 18:44:45 +0200 Subject: Getting the text content of a HTML page In-Reply-To: <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> Message-ID: Hi Heather, So simple ;-) I don't think that, some day, there will be a built-in function for retrieving plain text from html because html evolves every day and as you pointed it out, the code snippet I sent does not take CSS into account: it was written three years ago :-( If you enhance it, please share ;-) The way that Jacque was talking about is interesting when you want to parse the text 'invisibly' but is not satisfying for displaying it. Unfortunately: it would so simple :-) Good luck and prefer knitting code than sweaters :-) Le 2 ao?t 08 ? 17:19, H Baric a ?crit : > Well, you know I could have thought of that! > So simple and obvious really isn't it! > I mean, I could have just asked my two year old instead! > > :-o > :-| > > Well, I was going to just take myself to bed when I saw all that > code, but > at least I could understand it, and so decided to just tried it out... > > And it works except - all the CSS remains! (Anyone ever heard of > linked > stylesheets sheesh!) > > So rather than add a million more lines to the script (would it > ever be > complete!), I'm thinking I shall give up for now, at least until > tomorrow > when I am well slept, and can think up nice little incomplicated > things to > create for the purpose of keeping the old brain cells alive. > > Thanks for your help again Eric. > > Heather, who is determined to be a programmer when she grows up. > At 36yrs though, she is wondering if she should just stick to > knitting. > on knitOne ; select chunk of wool ; tie it in a knot ; create > noose ; end > knitOne > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Sunday, August 03, 2008 12:33 AM > Subject: Re: Getting the text content of a HTML page > > > Re, > > Le 2 ao?t 08 ? 16:31, H Baric a ?crit : > >> * Get the text only from a web page - no html tags, no formatting >> etc. > > LOL > This is a case that needs some additional code snippet as I said in a > previous email :-) > > put StripTags(thePage) into field "The Page" > --------------------------------------------------------- > function StripTags pHtml -- returns the meaningful text from a web > page > local tRegex,tPrevText > constant kHtml = > "é,à,ç,>,<,ecirc;,è,©,•,&# > 39 > ;,·,&" > constant kConvertedHtml = "?,?,?,>,<,?,?,?,?,',?,&" > ----- > replace return with space in pHtml > replace numtochar(13) with empty in pHtml > replace tab with empty in pHtml > ----- > put replacetext(pHtml,"(?Usi)","") into pHtml > put replacetext(pHtml,"(?Usi)","") into pHtml > put replacetext(pHtml,"(?Usi)<\?.*\?>","") into pHtml > ----- > replace " " with space in pHtml > replace "
" with return in pHtml > replace "

" with return in pHtml > ----- > put "<[^><]*>" into tRegex > put replacetext(pHtml,tRegex,"") into pHtml > put replacetext(pHtml,tRegex,"") into pHtml > ----- > repeat until tPrevText is pHtml > put pHtml into tPrevText > put replacetext(pHtml," +",space) into pHtml > put replacetext(pHtml,"^ ","") into pHtml > end repeat > ----- > replace (space & return) with return in pHtml > replace (return & space) with return in pHtml > filter pHtml without empty > ----- > replace """ with quote in pHtml > repeat with i = 1 to the number of items of kHtml > replace item i of kHtml with item i of kConvertedHtml in pHtml > end repeat > ----- > return pHtml > end StripTags > > Best regards from Paris, > Eric Chatonet. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From andres at bakno.com Sat Aug 2 13:28:00 2008 From: andres at bakno.com (Andres Martinez) Date: Sat, 2 Aug 2008 13:28:00 -0400 Subject: Getting the text content of a HTML page In-Reply-To: <4894763F.1010800@hyperactivesw.com> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <4894763F.1010800@hyperactivesw.com> Message-ID: <44E2B4C8-158F-4E7B-9002-1AA7A01B8BF7@bakno.com> Hello Jacqueline I am using this "htmltext" for the first time because I want to have links that work in a text field. Links are shown with a different color that changes when clicked. But no browser window opens and no page is retrieved. Any thoughts? Regards, Andres Martinez www.baKno.com On Aug 2, 2008, at 10:59 AM, J. Landman Gay wrote: > H Baric wrote: >> Hi again *blush* >> Okay, this is no doubt something very simple even though I've >> searched through the docs but can't find exactly how to do this >> seemingly straightforward task: >> * Get the text only from a web page - no html tags, no formatting >> etc. > > One simple way is: > > set the htmltext of fld to the text of fld > > It isn't perfect but it suffices for most things. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From andres at bakno.com Sat Aug 2 13:54:22 2008 From: andres at bakno.com (Andres Martinez) Date: Sat, 2 Aug 2008 13:54:22 -0400 Subject: Getting the text content of a HTML page In-Reply-To: <44E2B4C8-158F-4E7B-9002-1AA7A01B8BF7@bakno.com> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <4894763F.1010800@hyperactivesw.com> <44E2B4C8-158F-4E7B-9002-1AA7A01B8BF7@bakno.com> Message-ID: <2D4A3443-6FE8-4B20-AA04-3BEB2CBA82DB@bakno.com> Nevermind I found it on the forum... on linkClicked theLink revGoUrl theLink end linkClicked Regards, Andres Martinez www.baKno.com On Aug 2, 2008, at 1:28 PM, Andres Martinez wrote: > Hello Jacqueline > > I am using this "htmltext" for the first time because I want to have > links that work in a text field. > > Links are shown with a different color that changes when clicked. > But no browser window opens and no page is retrieved. > > Any thoughts? > > Regards, > Andres Martinez > www.baKno.com > > On Aug 2, 2008, at 10:59 AM, J. Landman Gay wrote: > >> H Baric wrote: >>> Hi again *blush* >>> Okay, this is no doubt something very simple even though I've >>> searched through the docs but can't find exactly how to do this >>> seemingly straightforward task: >>> * Get the text only from a web page - no html tags, no formatting >>> etc. >> >> One simple way is: >> >> set the htmltext of fld to the text of fld >> >> It isn't perfect but it suffices for most things. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From geradamas at yahoo.com Sat Aug 2 14:41:56 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sat, 2 Aug 2008 11:41:56 -0700 (PDT) Subject: [OT] How Far Will I Sink To Attract Attention? Message-ID: <353782.48376.qm@web37504.mail.mud.yahoo.com> Pretty Far: http://groups. yahoo.com/ group/RsHYPERCAR D/surveys? id=2742988 Go on, I dare you, take a walk on the wild side (as in WILD CARD) and vote! Love, Richmond Mathewson. PS. I'm on holiday throughout August, so expect more nausea! ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From francois.chaplais at mines-paristech.fr Sat Aug 2 15:44:45 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Sat, 2 Aug 2008 21:44:45 +0200 Subject: HC icons as Jpegs. In-Reply-To: References: <613298.78768.qm@web37501.mail.mud.yahoo.com> <01df01c8f3f8$a05eb760$6501a8c0@GATEWAY> Message-ID: <27A118AE-48BF-45C4-A27D-3C2B8E0DB8DC@mines-paristech.fr> Le 1 ao?t 08 ? 21:03, Eric Chatonet a ?crit : > Bonjour Lynn et Richmond and Charles, > > Le 1 ao?t 08 ? 19:04, Lynn Fredricks a ?crit : > >> Hi Richmond, >> >>> Here are the HyperCard icons in a convenient ZIP file as JPGs: >>> >>> http://mail.maclaunch.com/richmond/HCICONS.zip >> >> Thanks man :-) > > I need to be enlightened: > But don't take it bad :-) > > What is this HC nostalgia? > shared memories? Culture? Things museums are made for? Fran?ois From lfredricks at proactive-intl.com Sat Aug 2 18:01:39 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 2 Aug 2008 15:01:39 -0700 Subject: HC icons as Jpegs. In-Reply-To: <27A118AE-48BF-45C4-A27D-3C2B8E0DB8DC@mines-paristech.fr> References: <613298.78768.qm@web37501.mail.mud.yahoo.com><01df01c8f3f8$a05eb760$6501a8c0@GATEWAY> <27A118AE-48BF-45C4-A27D-3C2B8E0DB8DC@mines-paristech.fr> Message-ID: <005101c8f4eb$575d8de0$6501a8c0@GATEWAY> > > I need to be enlightened: > > But don't take it bad :-) > > > > What is this HC nostalgia? > > > > shared memories? Culture? Things museums are made for? Related to this - how many of you have very ancient macs sitting about, or some of the older weird ones/peripherals? We have an ancient SE/30 and a PowerCD. The PowerCD was cool because you could view Kodak PhotoCDs (the older, high resolution ones) on your television. Even has a remote. And HyperCard runs very nicely on the SE/30. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From JimAultWins at yahoo.com Sat Aug 2 18:19:26 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sat, 02 Aug 2008 15:19:26 -0700 Subject: HC icons as Jpegs. In-Reply-To: <005101c8f4eb$575d8de0$6501a8c0@GATEWAY> Message-ID: On 8/2/08 3:01 PM, "Lynn Fredricks" wrote: >> shared memories? Culture? Things museums are made for? > > Related to this - how many of you have very ancient macs sitting about, or > some of the older weird ones/peripherals? My 128K Mac is in the garage. Bought with 800K floppy upgrade + 800K external floppy + trackball-10 key pad by MacAlley There was no hard drive available. Purchased in Raleigh, NC. 2 Mb Dove RAM upgrade fills the back of the case. Added exhaust fan for cooling Uses Roger Bates RamDisk+ to create 400K system memory and 1.6K working memory Can't run any later than System 5.1 Runs Excel 1.0, Word 1.0, ResEdit. Appletalk connection allows output to a network laser printer. Jim Ault Las Vegas On 8/2/08 3:01 PM, "Lynn Fredricks" wrote: >>> I need to be enlightened: >>> But don't take it bad :-) >>> >>> What is this HC nostalgia? >>> >> >> shared memories? Culture? Things museums are made for? > > Related to this - how many of you have very ancient macs sitting about, or > some of the older weird ones/peripherals? > > We have an ancient SE/30 and a PowerCD. The PowerCD was cool because you > could view Kodak PhotoCDs (the older, high resolution ones) on your > television. Even has a remote. And HyperCard runs very nicely on the SE/30. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Sat Aug 2 22:15:13 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Aug 2008 19:15:13 -0700 Subject: Standalone - Using stack as DB Message-ID: <489514B1.5050508@fourthworld.com> Scott Morrow wrote: > I think a common variation is to have a standalone application (which > most "long-timers" try to put minimal code into), a "program main > stack" (perhaps with substacks) which can also be a stack file that > the standalone loads first to establish the interface (and doesn't > need to be saved), and data files which can also be substacks. Then > just the data substacks need to be involved with the save process. > Keeping the data separate from the everything else has been consistent > advice on this list. Yep, that's how I work. I've come to love using stack files for data storage. They give me all the flexibility I've enjoyed with my own custom formats but I don't need to worry about parsing the file, since the built-in routines for getting and setting properties make it dirt simple to stuff any data I need discretely. Extra bonus points: simply setting the password of the data file makes the data unreadable to other apps. Sometimes I do this with hard-wired passwords just for modest on-disk protection. If I need user-managed security I use either fwPack/fwUnpack () for very modest security, or Rev's encryption externals for industrial-strength security. And a nice extra: in those rare cases when a save is interrupted, the engine has automatically made a backup of the last good save (the "~*" copy), which has made a couple of my end-users very happy to learn about. :) -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From hbaric at gmail.com Sun Aug 3 04:06:50 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 18:06:50 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> Message-ID: <002901c8f53f$e3dee6c0$0a01010a@ANNIESPUTA> Okay, can someone please tell me if this (or something remotely like it) would be possible (if script was written correctly, which I can't for the life of me work out how): put url "somewebpage" into field "theField" put return before all the "<" put return after all the ">" replace lines containing "<" and ">" with empty HAHA, I know it's not anywhere near the solution to extracting text from HTML (Eric's function does a wayyy better job of that), but I'd LOVE to know how to actually write the script if not anything else, because it's driven me crazy for about two hours now! Grrr If it does something wonderful that would be great too :P Thanks so much :) Heather From m.schonewille at economy-x-talk.com Sun Aug 3 04:20:18 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Aug 2008 10:20:18 +0200 Subject: Getting the text content of a HTML page In-Reply-To: <002901c8f53f$e3dee6c0$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <002901c8f53f$e3dee6c0$0a01010a@ANNIESPUTA> Message-ID: Hi, I tried the following: put replacetext("aaaccc","<*>","") While put replacetext("aaaxbbbxccc","x*x","") works, the former doesn't. Does anyone know why? I tried escaping the < and >, but that didn't work either. Bug? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 aug 2008, at 10:06, H Baric wrote: > Okay, can someone please tell me if this (or something remotely like > it) > would be possible (if script was written correctly, which I can't > for the > life of me work out how): > > put url "somewebpage" into field "theField" > > put return before all the "<" > > put return after all the ">" > > replace lines containing "<" and ">" with empty > > > > HAHA, I know it's not anywhere near the solution to extracting text > from > HTML (Eric's function does a wayyy better job of that), but I'd LOVE > to know > how to actually write the script if not anything else, because it's > driven > me crazy for about two hours now! Grrr > > If it does something wonderful that would be great too :P > > Thanks so much :) > > Heather From hbaric at gmail.com Sun Aug 3 04:26:32 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 18:26:32 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> Message-ID: <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> (Re my last post), I guess what I want to know is, how to use the info in the FILTER and REGULAR EXPRESSIONS etc for Processing Text / Data, when there are other characters ***besides A-Z and 0-9*** I can't find any examples that use other characters, they all use letters and numbers! Everything I try doesn't work :( So I'm concluding it's not possible? Which can't be... Halp?! Can someone write a line for me using the filter: filter container {with | without} wildcardExpression but using another character(s) not just letters and numbers? Thanks again, Heather From m.schonewille at economy-x-talk.com Sun Aug 3 04:27:43 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Aug 2008 10:27:43 +0200 Subject: Getting the text content of a HTML page In-Reply-To: <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> Message-ID: <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> Hi Heather, This ought to be filter myLines without "*<*>*" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 aug 2008, at 10:26, H Baric wrote: > (Re my last post), I guess what I want to know is, how to use the > info in > the FILTER and REGULAR EXPRESSIONS etc for Processing Text / Data, > when > there are other characters ***besides A-Z and 0-9*** > > I can't find any examples that use other characters, they all use > letters > and numbers! Everything I try doesn't work :( So I'm concluding it's > not > possible? Which can't be... > > Halp?! > > Can someone write a line for me using the filter: > filter container {with | without} wildcardExpression > > but using another character(s) not just letters and numbers? > > Thanks again, > Heather From sarah.reichelt at gmail.com Sun Aug 3 04:56:31 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 3 Aug 2008 18:56:31 +1000 Subject: Getting the text content of a HTML page In-Reply-To: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> Message-ID: On Sun, Aug 3, 2008 at 12:31 AM, H Baric wrote: > Hi again *blush* > > Okay, this is no doubt something very simple even though I've searched through the docs but can't find exactly how to do this seemingly straightforward task: > > * Get the text only from a web page - no html tags, no formatting etc. > > I can get the html doc to appear in my field by using: > > put url "http://www.thePage.com" into thePage > > put thePage into field "The Page" > > > (is that correct?) If so, now what? :D Hi Heather, Welcome to the Revolution and please don't feel bad about asking questions. It's great when people ask beginner level questions as I think a lot of beginners don't like to ask and so get discouraged. Your script for getting the contents of a web page is perfect. For transforming that to plain text, there is a trick which may work if the web page is not too complex. Try this: put url "http://www.thePage.com" into thePage set the htmlText of the templateField to thePage put the text of the templateField into field "The Page" Cheers, Sarah From lan.kc.macmail at gmail.com Sun Aug 3 05:08:25 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 3 Aug 2008 17:08:25 +0800 Subject: Who owns old icons? In-Reply-To: <531244.95992.qm@web37503.mail.mud.yahoo.com> References: <531244.95992.qm@web37503.mail.mud.yahoo.com> Message-ID: On Sat, Aug 2, 2008 at 4:16 PM, Richmond Mathewson wrote: > However, I don't know the legal status of these .jpg and .png images, and > don't really want a large fruit breathing down my neck. > Don't know what the true legal status is, but what I can confirm is that the last time I registered software with Apple, 10.5, HyperCard was still listed as a product that could be registered. So although HC may be old, my impression is Apple feel that although it isn't moving, it ain't dead. From m.schonewille at economy-x-talk.com Sun Aug 3 05:31:56 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Aug 2008 11:31:56 +0200 Subject: Who owns old icons? In-Reply-To: References: <531244.95992.qm@web37503.mail.mud.yahoo.com> Message-ID: Hi Kay, That's not true. Apple declared HyperCard dead. They deliberately took their HyperCard website off-line and the general director of Apple Europe told me Apple would never ever invest in HyperCard again and apparently they wouldn't even consider buying stamps to ship any remaining inventory to Europe. I haven't seen that list lately, but I guess AppleWorks for Apple IIGS is still on it too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 aug 2008, at 11:08, Kay C Lan wrote: > On Sat, Aug 2, 2008 at 4:16 PM, Richmond Mathewson >wrote: > > Don't know what the true legal status is, but what I can confirm is > that the > last time I registered software with Apple, 10.5, HyperCard was > still listed > as a product that could be registered. So although HC may be old, my > impression is Apple feel that although it isn't moving, it ain't dead. From hbaric at gmail.com Sun Aug 3 06:11:47 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 20:11:47 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> Message-ID: <004d01c8f551$58030c50$0a01010a@ANNIESPUTA> Thanks Sarah! I have to say I feel a bit like a *duhh* dog-paddling around in brain soup here. But I'm determined, and definitely progressing daily thanks to all the wonderful readily available documents and examples, as well as all the friendly live help on demand here. :) Wow, your script even leaves blank lines between paragraphs (though multiple blank ones in some cases) - which is what I was trying to do by adjusting Eric's function, to try and maintain the paragraphs layout somewhat. With no success! Why doesn't "put return & return" work? LOL Anyway, cool thanks for that :) But, just out of interest, is there a way to script "if there are more than one blank line together, get rid of the extras and just have one" ? :D Cheers, Heather who's study strategy is to follow whatever new path is the most intriguing in the moment and forget what she was doing (but doesn't care as long as she is learning SOMEthing). :-| ----- Hi Heather, Welcome to the Revolution and please don't feel bad about asking questions. It's great when people ask beginner level questions as I think a lot of beginners don't like to ask and so get discouraged. Your script for getting the contents of a web page is perfect. For transforming that to plain text, there is a trick which may work if the web page is not too complex. Try this: put url "http://www.thePage.com" into thePage set the htmlText of the templateField to thePage put the text of the templateField into field "The Page" Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From scott at elementarysoftware.com Sun Aug 3 06:17:10 2008 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 3 Aug 2008 03:17:10 -0700 Subject: Getting the text content of a HTML page In-Reply-To: <002901c8f53f$e3dee6c0$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <002901c8f53f$e3dee6c0$0a01010a@ANNIESPUTA> Message-ID: Hello Heather, Mark's use of filter answered your question nicely. This chunking method illustrates another, less elegant, way of doing what your pseudo-code below describes. put field "theField" into tText replace "<" with (CR&"<") in tText replace ">" with (">"&CR) in tText -- build a new list without the "<" or ">" lines repeat for each line tLine in tText if ("<" is not in tLine) AND (">" is not in tLine) then put tLine &CR after tNewText end if end repeat put tNewText Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ ------------------------------------------------------ On Aug 3, 2008, at 1:06 AM, H Baric wrote: > Okay, can someone please tell me if this (or something remotely like > it) > would be possible (if script was written correctly, which I can't > for the > life of me work out how): > > put url "somewebpage" into field "theField" > > put return before all the "<" > > put return after all the ">" > > replace lines containing "<" and ">" with empty > > > > HAHA, I know it's not anywhere near the solution to extracting text > from > HTML (Eric's function does a wayyy better job of that), but I'd LOVE > to know > how to actually write the script if not anything else, because it's > driven > me crazy for about two hours now! Grrr > > If it does something wonderful that would be great too :P > > Thanks so much :) > > Heather > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Sun Aug 3 06:29:50 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 20:29:50 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA><003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> Message-ID: <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> Thanks for helping me make sense of that Mark :) I tested it out on my project, and it filters out everything in the entire field! I thought I knew why, as the field displays:
This is a table. Can you see this text?
Everything IS in between the < and >. But then I tried adding text outside the table tags, and it still filtered out them too. Resulting in empty field! :D *scratches head* Cheers, Heather ----- Hi Heather, This ought to be filter myLines without "*<*>*" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 aug 2008, at 10:26, H Baric wrote: > (Re my last post), I guess what I want to know is, how to use the > info in > the FILTER and REGULAR EXPRESSIONS etc for Processing Text / Data, > when > there are other characters ***besides A-Z and 0-9*** > > I can't find any examples that use other characters, they all use > letters > and numbers! Everything I try doesn't work :( So I'm concluding it's > not > possible? Which can't be... > > Halp?! > > Can someone write a line for me using the filter: > filter container {with | without} wildcardExpression > > but using another character(s) not just letters and numbers? > > Thanks again, > Heather _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From sarah.reichelt at gmail.com Sun Aug 3 06:32:54 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 3 Aug 2008 20:32:54 +1000 Subject: Getting the text content of a HTML page In-Reply-To: <004d01c8f551$58030c50$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <004d01c8f551$58030c50$0a01010a@ANNIESPUTA> Message-ID: > But, just out of interest, is there a way to script "if there are more than > one blank line together, get rid of the extras and just have one" ? repeat while tString contains cr & cr replace cr & cr with cr in tString end repeat That should do it. Cheers, Sarah From m.schonewille at economy-x-talk.com Sun Aug 3 06:43:33 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Aug 2008 12:43:33 +0200 Subject: Getting the text content of a HTML page In-Reply-To: <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA><003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> Message-ID: <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> Heather, My little example filters out all line that have a < followed by a >. I thought you were putting returns before the <'s and after the >'s, which should make the example work, since all tags would be on their own separate line, if the site doesn't contain any mistakes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 aug 2008, at 12:29, H Baric wrote: > Thanks for helping me make sense of that Mark :) > > I tested it out on my project, and it filters out everything in the > entire > field! > > I thought I knew why, as the field displays: > table> > > Everything IS in between the < and >. > > But then I tried adding text outside the table tags, and it still > filtered > out them too. Resulting in empty field! > > :D > > *scratches head* > > Cheers, > Heather > > ----- > > Hi Heather, > > This ought to be > > filter myLines without "*<*>*" > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See > http://economy-x-talk.com/server.html > for more info. > > On 3 aug 2008, at 10:26, H Baric wrote: > >> (Re my last post), I guess what I want to know is, how to use the >> info in >> the FILTER and REGULAR EXPRESSIONS etc for Processing Text / Data, >> when >> there are other characters ***besides A-Z and 0-9*** >> >> I can't find any examples that use other characters, they all use >> letters >> and numbers! Everything I try doesn't work :( So I'm concluding it's >> not >> possible? Which can't be... >> >> Halp?! >> >> Can someone write a line for me using the filter: >> filter container {with | without} wildcardExpression >> >> but using another character(s) not just letters and numbers? >> >> Thanks again, >> Heather > > _______________________________________________ > use-revolution mailing list > use-revolution 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 hbaric at gmail.com Sun Aug 3 06:58:45 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 20:58:45 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA><002901c8f53f$e3dee6c0$0a01010a@ANNIESPUTA> Message-ID: <007101c8f557$e7b52f30$0a01010a@ANNIESPUTA> Awesome! Brilliant! Thanks Scott! Just visited your website, and as a mum I approve! I'm hoping all my current efforts and ideas will someday lead me to making something of value with R also, especially for kids and other mums etc. In the meantime, so many ideas yet so little skill! Cheers, Heather :) ----- Original Message ----- From: "Scott Morrow" To: "How to use Revolution" Sent: Sunday, August 03, 2008 8:17 PM Subject: Re: Getting the text content of a HTML page Hello Heather, Mark's use of filter answered your question nicely. This chunking method illustrates another, less elegant, way of doing what your pseudo-code below describes. put field "theField" into tText replace "<" with (CR&"<") in tText replace ">" with (">"&CR) in tText -- build a new list without the "<" or ">" lines repeat for each line tLine in tText if ("<" is not in tLine) AND (">" is not in tLine) then put tLine &CR after tNewText end if end repeat put tNewText Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ ------------------------------------------------------ On Aug 3, 2008, at 1:06 AM, H Baric wrote: > Okay, can someone please tell me if this (or something remotely like > it) > would be possible (if script was written correctly, which I can't > for the > life of me work out how): > > put url "somewebpage" into field "theField" > > put return before all the "<" > > put return after all the ">" > > replace lines containing "<" and ">" with empty > > > > HAHA, I know it's not anywhere near the solution to extracting text > from > HTML (Eric's function does a wayyy better job of that), but I'd LOVE > to know > how to actually write the script if not anything else, because it's > driven > me crazy for about two hours now! Grrr > > If it does something wonderful that would be great too :P > > Thanks so much :) > > Heather > > _______________________________________________ > use-revolution mailing list > use-revolution 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 hbaric at gmail.com Sun Aug 3 06:59:52 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 3 Aug 2008 20:59:52 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><004d01c8f551$58030c50$0a01010a@ANNIESPUTA> Message-ID: <007201c8f558$0fcf9a50$0a01010a@ANNIESPUTA> Excellent! Thanks so much Sarah! ----- Original Message ----- From: "Sarah Reichelt" To: "How to use Revolution" Sent: Sunday, August 03, 2008 8:32 PM Subject: Re: Getting the text content of a HTML page > But, just out of interest, is there a way to script "if there are more > than > one blank line together, get rid of the extras and just have one" ? repeat while tString contains cr & cr replace cr & cr with cr in tString end repeat That should do it. Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From lan.kc.macmail at gmail.com Sun Aug 3 07:42:11 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 3 Aug 2008 19:42:11 +0800 Subject: Who owns old icons? In-Reply-To: References: <531244.95992.qm@web37503.mail.mud.yahoo.com> Message-ID: On Sun, Aug 3, 2008 at 5:31 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > That's not true. Apple declared HyperCard dead. They deliberately took > their HyperCard website off-line and the general director of Apple Europe > told me Apple would never ever invest in HyperCard again and apparently they > wouldn't even consider buying stamps to ship any remaining inventory to > Europe. > I'm sure that is all true > > I haven't seen that list lately, but I guess AppleWorks for Apple IIGS is > still on it too. > Yes, AppleWorks is there but I can't remember seeing the IIGS there. Again, as I stated in my first post, this is my impression, not a statement of the true legal situation. Whilst Marketing, R&D may know that HC is dead, and high placed exec's in certain circumstances may state that HC is dead, can you guarantee the legal vultures want come calling. My reference to HC not being dead was not as a starry eyed User ever hopeful of HCs resurrection but in context of the legal ramifications of copying other people's work, even if it is old work. IMO I don't think what Richmond has done with the HC button icons is kosher, but I don't think Apple will come calling. On the other hand, did you ask the GD of Apple Europe if you could convert all the official HC documents to pdf format and distribute it and everything that came on the floppies onto a single CD and then sell if for a small price? If you didn't ask that question, what do you imagine the answer would be? To me, the existence of HC on the Apple software registration site is all Apple needs to do to confirm they are still very much the owners of all things HC. ie it's not public domain. It will be lawyers, not Marketing, R&D or GDs, who decide what to do with people who don't respect that ownership. Not a lawyer so I'm probably completely wrong. From m.schonewille at economy-x-talk.com Sun Aug 3 08:01:26 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 3 Aug 2008 14:01:26 +0200 Subject: Who owns old icons? In-Reply-To: References: <531244.95992.qm@web37503.mail.mud.yahoo.com> Message-ID: <5D549A1A-8556-4EAA-B81B-78118E0A8C80@economy-x-talk.com> Hi Kay, We discussed similar possibilities. Apple isn't going to do that, because it would be too expensive to make it official. They just refuse to do *anything* with HyperCard. There's one thing that very much surprises me, given Apple's statements. The link still exists. Previously, it contained a product description, later it referred to the Apple store, and now it redirects to.... Wikipedia! I get the impression that someone at Apple must still have warm feelings for it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 aug 2008, at 13:42, Kay C Lan wrote: > > Yes, AppleWorks is there but I can't remember seeing the IIGS there. > > Again, as I stated in my first post, this is my impression, not a > statement > of the true legal situation. Whilst Marketing, R&D may know that HC > is dead, > and high placed exec's in certain circumstances may state that HC is > dead, > can you guarantee the legal vultures want come calling. > > My reference to HC not being dead was not as a starry eyed User ever > hopeful > of HCs resurrection but in context of the legal ramifications of > copying > other people's work, even if it is old work. IMO I don't think what > Richmond > has done with the HC button icons is kosher, but I don't think Apple > will > come calling. On the other hand, did you ask the GD of Apple Europe > if you > could convert all the official HC documents to pdf format and > distribute it > and everything that came on the floppies onto a single CD and then > sell if > for a small price? If you didn't ask that question, what do you > imagine the > answer would be? > > To me, the existence of HC on the Apple software registration site > is all > Apple needs to do to confirm they are still very much the owners of > all > things HC. ie it's not public domain. It will be lawyers, not > Marketing, R&D > or GDs, who decide what to do with people who don't respect that > ownership. > > Not a lawyer so I'm probably completely wrong. From mikeythek at gmail.com Sun Aug 3 08:01:34 2008 From: mikeythek at gmail.com (Mikey) Date: Sun, 3 Aug 2008 08:01:34 -0400 Subject: [OT] How Far Will I Sink To Attract Attention? In-Reply-To: <353782.48376.qm@web37504.mail.mud.yahoo.com> References: <353782.48376.qm@web37504.mail.mud.yahoo.com> Message-ID: <9b408d8e0808030501r57e8113dof99aa3975a9ca3ae@mail.gmail.com> So what's with breaking up the URL into several pieces? From geradamas at yahoo.com Sun Aug 3 08:15:19 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 3 Aug 2008 05:15:19 -0700 (PDT) Subject: [OT] How Far Will I Sink To Attract Attention? Message-ID: <970081.31930.qm@web37504.mail.mud.yahoo.com> Breaking up URLs is not my style, really don't know how that happened, sorry! http://tech.groups.yahoo.com/group/RsHYPERCARD sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Sun Aug 3 08:24:37 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Sun, 3 Aug 2008 05:24:37 -0700 (PDT) Subject: Who owns old icons? Message-ID: <159503.34511.qm@web37501.mail.mud.yahoo.com> Just posted the following on my Yahoo Group: http://tech.groups.yahoo.com/group/RsHYPERCARD/ "Someone, somewhere else, stated that by doing this I had behaved in a way that was "not kosher". And that may be so (if by "kosher" legality is meant, as morally I feel I have done something no worse than pick up a bicycle that has been sitting, unlocked, by the roadside for more than 10 years), so I shall just state the following:- If the owners of these icons (Apple Computer ?) care to contact me and tell me they would rather I removed these files from this Yahoo Group (as well as from links on my website) I will remove them directly, and apologise. sincerely, Richmond Mathewson." ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From lan.kc.macmail at gmail.com Sun Aug 3 09:53:00 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 3 Aug 2008 21:53:00 +0800 Subject: Who owns old icons? In-Reply-To: <5D549A1A-8556-4EAA-B81B-78118E0A8C80@economy-x-talk.com> References: <531244.95992.qm@web37503.mail.mud.yahoo.com> <5D549A1A-8556-4EAA-B81B-78118E0A8C80@economy-x-talk.com> Message-ID: On Sun, Aug 3, 2008 at 8:01 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > > There's one thing that very much surprises me, given Apple's statements. > The link still exists. Previously, it > contained a product description, later it referred to the Apple store, and > now it redirects to.... Wikipedia! Interesting indeed! > I get the impression that someone at Apple must still have warm feelings > for it. :-) I'm sure he or she is not alone :-) From shari at gypsyware.com Sun Aug 3 10:35:31 2008 From: shari at gypsyware.com (Shari) Date: Sun, 3 Aug 2008 10:35:31 -0400 Subject: Speeding up get URL Message-ID: Goal: Get a long list of website URLS, parse a bunch of data from each page, if successful delete the URL from the list, if not put the URL on a different list. I've got it working but it's slow. It takes about an hour per 10,000 urls. I sell tshirts. Am using this to create informational files for myself which will be frequently updated. I'll probably be running this a couple times a month and expect my product line to just keep on growing. I'm currently at about 40,000 products but look forward to the day of hundreds of thousands :-) So speed is my need... (Yes, if you're interested my store is in the signature, opened it last December :-) How do I speed this up? # toDoList needs to have the successful URLs deleted, and failed URLs moved to a different list # that's why p down to 1, for the delete # URLS are standard http://www.somewhere.com/somePage repeat with p = the number of lines of toDoList down to 1 put url (line p of toDoList) into tUrl # don't want to use *it* because there's a long script that follows # *it* is too easily changed, though I've heard *it* is faster than *put* # do the stuff if doTheStuffWorked then delete line p of toDoList else put p & return after failedList updateProgressBar # another slowdown but necessary, gives a count of how many left to do end repeat -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From martinblackman at gmail.com Sun Aug 3 11:01:46 2008 From: martinblackman at gmail.com (Martin Blackman) Date: Sun, 3 Aug 2008 23:01:46 +0800 Subject: Option Menu Can be Clicked on from Outside its Group Message-ID: <79d1bee70808030801o222edfa1xec52c3f592175d71@mail.gmail.com> List, If I make a group of 3 option menus, spaced out vertically, then I reduce the group height so that only the top 2 menus can be seen, I can't click on the 3rd option menu any more. So far so good. But if I click on the 2nd option menu now, and its drop-down choices spill over the bottom edge of the group, I am then able to click on the 3rd, previously 'invisible' menu. Not good. I have this situation in an application of mine using a scrolling group of dropdown menus. Seems like a bug to me, anyone care to confirm and or suggest a fix ? thanks Martin From martinblackman at gmail.com Sun Aug 3 11:04:09 2008 From: martinblackman at gmail.com (Martin Blackman) Date: Sun, 3 Aug 2008 23:04:09 +0800 Subject: Option Menu Can be Clicked on from Outside its Group In-Reply-To: <79d1bee70808030801o222edfa1xec52c3f592175d71@mail.gmail.com> References: <79d1bee70808030801o222edfa1xec52c3f592175d71@mail.gmail.com> Message-ID: <79d1bee70808030804q251b0253h23ffebfe7a03c481@mail.gmail.com> PS. I should note that it is in Rev 2.9 and 2.8.1 on Windows. 2008/8/3 Martin Blackman > List, > > If I make a group of 3 option menus, spaced out vertically, then I reduce > the group height so that only the top 2 menus can be seen, I can't click on > the 3rd option menu any more. So far so good. > But if I click on the 2nd option menu now, and its drop-down choices spill > over the bottom edge of the group, I am then able to click on the 3rd, > previously 'invisible' menu. Not good. > I have this situation in an application of mine using a scrolling group of > dropdown menus. Seems like a bug to me, anyone care to confirm and or > suggest a fix ? > > thanks > Martin > From sims at ezpzapps.com Sun Aug 3 11:27:10 2008 From: sims at ezpzapps.com (Jim Sims) Date: Sun, 3 Aug 2008 17:27:10 +0200 Subject: Speeding up get URL In-Reply-To: References: Message-ID: On Aug 3, 2008, at 4:35 PM, Shari wrote: > Goal: Get a long list of website URLS, parse a bunch of data from > each page, if successful delete the URL from the list, if not put > the URL on a different list. I've got it working but it's slow. It > takes about an hour per 10,000 urls. I sell tshirts. Am using this > to create informational files for myself which will be frequently > updated. I'll probably be running this a couple times a month and > expect my product line to just keep on growing. I'm currently at > about 40,000 products but look forward to the day of hundreds of > thousands :-) So speed is my need... (Yes, if you're interested my > store is in the signature, opened it last December :-) > > How do I speed this up? I wonder if using "load" URL might be faster? sims ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ClipaSearch Pro http://www.einspine.com Across Platforms - Code and Culture http://www.ezpzapps.com/blog/ From shari at gypsyware.com Sun Aug 3 12:20:22 2008 From: shari at gypsyware.com (Shari) Date: Sun, 3 Aug 2008 12:20:22 -0400 Subject: Speeding up get URL In-Reply-To: References: Message-ID: >I wonder if using "load" URL might be faster? > >sims I haven't tried it. The docs made it seem like the wrong choice as the url must be fully loaded for the handler to continue. I check this by looking for in the fetched url. According to the docs "load" downloads the url in the background and doesn't wait for the complete download before continuing the script. I'm not sure how to counter this. Would you create an array to hold the url address and contents? Each address being a key, and each contents being the contents of the page? And then run the parsing handler on the array? So that while it's parsing this url, in the background it's still loading other urls into the array? >> From the docs: The load command is non-blocking, so it does not stop the current handler while the download is completed. The handler continues while the load command downloads the URL in the background. You can monitor the download by checking the URLStatus function periodically. Caution! Avoid using the wait command in a handler after executing the load command. Since the load command is non-blocking, it may still be running when your handler reaches the wait command. And since the load command is part of the Internet library and is implemented in a handler, the wait command will stop the download process if it is executed while the download is still going on. In particular, do not use constructions like the following, which will sit forever without downloading the file: load URL myURL wait until the URLStatus of myURL is "cached" -- DON'T DO THIS The file is downloaded into a local cache. It does not remain available after the application quits; the purpose of the cache is to speed up access to the specified URL, not to store it permanently. You can use a URL even if it is not in the cache, so use of the load command is optional. << >> All actions that refer to a URL container are blocking: that is, the handler pauses until Revolution is finished accessing the URL. Since fetching a web page may take some time due to network lag, accessing URLs may take long enough to be noticeable to the user. To avoid this delay, use the load command (which is non-blocking) to cache web pages before you need them. << -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From JimAultWins at yahoo.com Sun Aug 3 12:20:54 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 03 Aug 2008 09:20:54 -0700 Subject: Speeding up get URL In-Reply-To: Message-ID: The major limitation for your case is that each request sent to a web server is dependent on the response time from that web server. Some servers intentionally return with a delay to control bandwidth demands and load balancing, especially if some of their hosted customers are downloading videos or games or music or flash files. You could add a timer to you process and find out which sites return the slowest, but this may not be true every time you access same site. The rate of 10,000 per hour sounds about right since most product pages on the internet are served from a database and are not static pages. One service provider that I extract data from does not want more than one hit every 50 seconds in order to be of service to hundreds of simultaneous users, so they protect themselves from "denial of service attacks" that overload their machines. One of my hosting companies does not charge extra for bandwidth, but has set the load balancing so that I could not serve videos effectively. Works great for blogs and low-volume pages. Not good for music and games. I would just let the app run overnight since you are only doing it a couple times a month. Of course you could run the app on two computers to double the speed, then merge the results. Another step might be to see if the sites have a listing page with you desired data. This might produce 10-50 products on one page rather than 10-50 different web pages. Just a thought... One factor might be if your list has the same domain appearing as a contiguous block, the web server may be detecting that you are not a human browsing and slow down the transfer rate. One of my hosting companies does this because they had bad experiences with denial of service attacks. Hope this helps. Jim Ault Las Vegas On 8/3/08 7:35 AM, "Shari" wrote: > Goal: Get a long list of website URLS, parse a bunch of data from > each page, if successful delete the URL from the list, if not put the > URL on a different list. I've got it working but it's slow. It > takes about an hour per 10,000 urls. I sell tshirts. Am using this > to create informational files for myself which will be frequently > updated. I'll probably be running this a couple times a month and > expect my product line to just keep on growing. I'm currently at > about 40,000 products but look forward to the day of hundreds of > thousands :-) So speed is my need... (Yes, if you're interested my > store is in the signature, opened it last December :-) > > How do I speed this up? > > # toDoList needs to have the successful URLs deleted, and failed URLs > moved to a different list > # that's why p down to 1, for the delete > # URLS are standard http://www.somewhere.com/somePage > > repeat with p = the number of lines of toDoList down to 1 > put url (line p of toDoList) into tUrl > # don't want to use *it* because there's a long script that follows > # *it* is too easily changed, though I've heard *it* is faster than > *put* > # do the stuff > if doTheStuffWorked then > delete line p of toDoList > else put p & return after failedList > updateProgressBar # another slowdown but necessary, gives a > count of how many left to do > end repeat From shari at gypsyware.com Sun Aug 3 12:38:59 2008 From: shari at gypsyware.com (Shari) Date: Sun, 3 Aug 2008 12:38:59 -0400 Subject: Speeding up get URL In-Reply-To: References: Message-ID: It's always one domain, the same domain, and I have no control over the domain or its hosting company. The domain itself probably has millions of pages. Anybody can sell products thru them, and they make it very easy to do so. So there are probably thousands (or more) folks with massive quantities of products for sale. The worst thing will be if 40,000 products takes 4.5 hours (my last two runs confirmed that), once it gets to hundreds of thousands it could take *days*. That would be bad. I'm having other options for partial runs, but there's always got to be the ability for a full run. I'm not familiar with the ins and outs of a DOS attack, you mean something like this could be confused for one? >Just a thought... One factor might be if your list has the same domain >appearing as a contiguous block, the web server may be detecting that you >are not a human browsing and slow down the transfer rate. One of my hosting >companies does this because they had bad experiences with denial of service >attacks. > >Hope this helps. > >Jim Ault >Las Vegas -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From hbaric at gmail.com Sun Aug 3 12:52:18 2008 From: hbaric at gmail.com (H Baric) Date: Mon, 4 Aug 2008 02:52:18 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA><003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA><84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com><005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> Message-ID: <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA> Ahhhh, thanks Mark. A bit scattered am I at times... okay most times... but your script makes perfect sense now and I'm sure it will work. Haven't tried it again yet though - next on Experiments-To-Do! I've been having fun using bits and pieces from everyone's offerings the last couple of days, and I really have learned so much more today, with some previously headscratcher concepts *starting* to click, so thanks again everyone :) Another question though before I close this bloomin HTML thing and do something different (like my abandoned Notepad app). How do I delete lines (in the resulting text extracted from the html page) that contain a url in them? They appear by themselves on separate lines... I'm currently trying this but really, as you can see, it don't work, and that I am confuzzled still by how some things do/are supposed to work: -- delete lines with a url displayed repeat for each line tLine in field "thePage" -- or is it better/more efficient to do this while still in a variable prior to putting into field? if "http://" is in tLine then put replacetext(tLine,"http://*","") -- HALP! end if end repeat MEHHHH. LMAO!! Or should it be done with a different script altogether? --- Side Question: When you declare "tLine" in the repeat line, what [does | will] this variable contain?! Every line in the field? Or just lines as per rest of script, or, some, thing!? (one of those headscratchers) Cheers, Heather ----- Heather, My little example filters out all line that have a < followed by a >. I thought you were putting returns before the <'s and after the >'s, which should make the example work, since all tags would be on their own separate line, if the site doesn't contain any mistakes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 3 aug 2008, at 12:29, H Baric wrote: > Thanks for helping me make sense of that Mark :) > > I tested it out on my project, and it filters out everything in the > entire > field! > > I thought I knew why, as the field displays: >
This is a table. Can you see this text?
table> > > Everything IS in between the < and >. > > But then I tried adding text outside the table tags, and it still > filtered > out them too. Resulting in empty field! > > :D > > *scratches head* > > Cheers, > Heather > > ----- > > Hi Heather, > > This ought to be > > filter myLines without "*<*>*" > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See > http://economy-x-talk.com/server.html > for more info. > > On 3 aug 2008, at 10:26, H Baric wrote: > >> (Re my last post), I guess what I want to know is, how to use the >> info in >> the FILTER and REGULAR EXPRESSIONS etc for Processing Text / Data, >> when >> there are other characters ***besides A-Z and 0-9*** >> >> I can't find any examples that use other characters, they all use >> letters >> and numbers! Everything I try doesn't work :( So I'm concluding it's >> not >> possible? Which can't be... >> >> Halp?! >> >> Can someone write a line for me using the filter: >> filter container {with | without} wildcardExpression >> >> but using another character(s) not just letters and numbers? >> >> Thanks again, >> Heather > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From noelf at nomigraphics.com Sun Aug 3 12:56:41 2008 From: noelf at nomigraphics.com (Noel) Date: Sun, 03 Aug 2008 10:56:41 -0600 Subject: Speeding up get URL In-Reply-To: References: Message-ID: <0MKpCa-1KPgsx2WX9-0004kR@mrelay.perfora.net> Yes, something like what you are describing could easily be confused with a DOS attack. DOS attacks are done by flooding a server with requests for webpages to the point that the server crashes due to its inability to process all the requests. Even if you are not considered a DOS attack, the company may not appreciate the bandwith that is being used for you to continually index their site and may deny your IP address access at some point. - Noel At 10:38 AM 8/3/2008, you wrote: >It's always one domain, the same domain, and I have no control over >the domain or its hosting company. The domain itself probably has >millions of pages. Anybody can sell products thru them, and they >make it very easy to do so. So there are probably thousands (or >more) folks with massive quantities of products for sale. > >The worst thing will be if 40,000 products takes 4.5 hours (my last >two runs confirmed that), once it gets to hundreds of thousands it >could take *days*. That would be bad. > >I'm having other options for partial runs, but there's always got to >be the ability for a full run. > >I'm not familiar with the ins and outs of a DOS attack, you mean >something like this could be confused for one? > >>Just a thought... One factor might be if your list has the same domain >>appearing as a contiguous block, the web server may be detecting that you >>are not a human browsing and slow down the transfer rate. One of my hosting >>companies does this because they had bad experiences with denial of service >>attacks. >> >>Hope this helps. >> >>Jim Ault >>Las Vegas > > >-- > Dogs and bears, sports and cars, and patriots t-shirts > http://www.villagetshirts.com > WlND0WS and MAClNT0SH shareware games > http://www.gypsyware.com >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From stephenREVOLUTION2 at barncard.com Sun Aug 3 13:00:34 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sun, 3 Aug 2008 10:00:34 -0700 Subject: Who owns old icons? In-Reply-To: <5D549A1A-8556-4EAA-B81B-78118E0A8C80@economy-x-talk.com> References: <531244.95992.qm@web37503.mail.mud.yahoo.com> <5D549A1A-8556-4EAA-B81B-78118E0A8C80@economy-x-talk.com> Message-ID: and whoever wrote the Wickipedia article knew about Revolution and put it first in the list of decendants of Hypercard. Other companies offered their own versions. Three products are currently available which offer HyperCard-like functionality: Runtime Revolution's Revolution expands greatly on HyperCard's feature set and offers color and a GUI toolkit which can be deployed on many popular platforms > still exists. Previously, it >contained a product description, later it referred to the Apple >store, and now it redirects to.... Wikipedia! I get the impression >that someone at Apple must still have warm feelings for it. >Mark Schonewille -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From JimAultWins at yahoo.com Sun Aug 3 14:14:42 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 03 Aug 2008 11:14:42 -0700 Subject: Speeding up get URL In-Reply-To: <0MKpCa-1KPgsx2WX9-0004kR@mrelay.perfora.net> Message-ID: Noel is correct. Even Google will ban IP addresses of those machines that will execute too many searches in a short time. One answer is to use proxy servers, but that is a more complex process. One suggestion is to send an email to the support group for the "one domain" and ask if there is a better way to get the info you want. You would have to say you are willing to register and play by their rules, but this could get all the data you want in 20-30 minutes. They might even allow you to download one file from their FTP site. If you are in the business of making more money for them, they will likely help you. They may already have such a service. Jim Ault Las Vegas On 8/3/08 9:56 AM, "Noel" wrote: > Yes, something like what you are describing could easily be confused > with a DOS attack. > > DOS attacks are done by flooding a server with requests for webpages > to the point that the server crashes due to its inability to process > all the requests. > > Even if you are not considered a DOS attack, the company may not > appreciate the bandwith that is being used for you to continually > index their site and may deny your IP address access at some point. > > - Noel > > At 10:38 AM 8/3/2008, you wrote: >> It's always one domain, the same domain, and I have no control over >> the domain or its hosting company. The domain itself probably has >> millions of pages. Anybody can sell products thru them, and they >> make it very easy to do so. So there are probably thousands (or >> more) folks with massive quantities of products for sale. >> >> The worst thing will be if 40,000 products takes 4.5 hours (my last >> two runs confirmed that), once it gets to hundreds of thousands it >> could take *days*. That would be bad. >> >> I'm having other options for partial runs, but there's always got to >> be the ability for a full run. >> >> I'm not familiar with the ins and outs of a DOS attack, you mean >> something like this could be confused for one? >> >>> Just a thought... One factor might be if your list has the same domain >>> appearing as a contiguous block, the web server may be detecting that you >>> are not a human browsing and slow down the transfer rate. One of my hosting >>> companies does this because they had bad experiences with denial of service >>> attacks. >>> >>> Hope this helps. >>> >>> Jim Ault >>> Las Vegas >> >> >> -- >> Dogs and bears, sports and cars, and patriots t-shirts >> http://www.villagetshirts.com >> WlND0WS and MAClNT0SH shareware games >> http://www.gypsyware.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From shari at gypsyware.com Sun Aug 3 14:15:11 2008 From: shari at gypsyware.com (Shari) Date: Sun, 3 Aug 2008 14:15:11 -0400 Subject: Speeding up get URL In-Reply-To: <0MKpCa-1KPgsx2WX9-0004kR@mrelay.perfora.net> References: <0MKpCa-1KPgsx2WX9-0004kR@mrelay.perfora.net> Message-ID: Noel, I've done a bit of research and I don't think they have such issues. Several folks are doing similar things very publicly (the website is aware of it) and it doesn't seem to be a problem. Usually if something is disallowed you'll find it referenced very clearly in their user forums. For instance, images and words that are disallowed on your products :-) If somebody does something and it's considered bad by the company, it's usually well documented for others to find and read about. So I think I'm okay along this path. We're all in the business to make money and if we, the shopkeepers, find ways to improve our sales, then the company that supports us makes more money, too :-) If they were smart they'd be offering us built in tools so we wouldn't have to roll our own. But you know, there's nothing better than Rev for rolling your own! Keep that doggie rolling... Shari >Yes, something like what you are describing could easily be confused >with a DOS attack. > >DOS attacks are done by flooding a server with requests for webpages >to the point that the server crashes due to its inability to process >all the requests. > >Even if you are not considered a DOS attack, the company may not >appreciate the bandwith that is being used for you to continually >index their site and may deny your IP address access at some point. > > - Noel -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From Mark at Rauterkus.com Sun Aug 3 15:05:02 2008 From: Mark at Rauterkus.com (Mark Rauterkus) Date: Sun, 3 Aug 2008 15:05:02 -0400 Subject: Trip to Beijing -- Olympics -- anyone else? In-Reply-To: <322253fe0808031042p2c24d85cpc217527e89c92b6f@mail.gmail.com> References: <322253fe0808031042p2c24d85cpc217527e89c92b6f@mail.gmail.com> Message-ID: <322253fe0808031205l1dd8e876o267e30b6cf53aa08@mail.gmail.com> Hi, Any RunRev users in Beijing? I'm going to the Olympic Games as a spectator -- and we will be in China for the month. Anyone want to get together there? Send me an email directly: mark at rauterkus.com. We have an apartment in BJ's 'silicone valley.' -- Ta. Mark Rauterkus Mark at Rauterkus.com http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.Org 412 298 3432 = cell From shari at gypsyware.com Sun Aug 3 15:51:19 2008 From: shari at gypsyware.com (Shari) Date: Sun, 3 Aug 2008 15:51:19 -0400 Subject: Speeding up get URL In-Reply-To: References: Message-ID: I'd do that in a heartbeat if they had a way. They used to, but at this time the only offering they have is for affiliates, and it has severe limitations. I just got done checking it out and it isn't designed for what I need. I might be able to "fudge" it and I will give fudging a try. But if the fudge fails I'm back to the way that works. Though based on some math calcs the fudge could work out faster... worth a look. What's frustrating is that there is a way and a whole bunch of shopkeepers have access to that way, but newer shopkeepers do not have access. Shari >One suggestion is to send an email to the support group for the "one domain" >and ask if there is a better way to get the info you want. You would have >to say you are willing to register and play by their rules, but this could >get all the data you want in 20-30 minutes. They might even allow you to >download one file from their FTP site. > >If you are in the business of making more money for them, they will likely >help you. They may already have such a service. > >Jim Ault >Las Vegas -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From sarah.reichelt at gmail.com Sun Aug 3 16:34:57 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 Aug 2008 06:34:57 +1000 Subject: Getting the text content of a HTML page In-Reply-To: <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA> Message-ID: > Another question though before I close this bloomin HTML thing and do > something different (like my abandoned Notepad app). > > How do I delete lines (in the resulting text extracted from the html page) > that contain a url in them? They appear by themselves on separate lines... > > I'm currently trying this but really, as you can see, it don't work, and > that I am confuzzled still by how some things do/are supposed to work: > > -- delete lines with a url displayed filter myText without "*http://*" The * at the beginning and end of the filter string allow there to be characters before or after the "http://" string in a line. All matching lines will be deleted from the variable myText. It could also have been done in a loop, but not as easily. Cheers, Sarah From ambassador at fourthworld.com Sun Aug 3 17:03:47 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Aug 2008 14:03:47 -0700 Subject: Who owns old icons? Message-ID: <48961D33.5010707@fourthworld.com> In spite of any statements from Apple Europe, the last official public statement from any authorized representative from Apple's heaquarters in Cupertino was: "There have been some rumors about us canceling HyperCard, which are totally bu||sh*t." - Steve Jobs, October 1998, CAUSE Conference You can enjoy an audio clip of that here: AFAIK, no public statement to the contrary has ever been issued from Apple's main office. But no matter how much fun we may have with Jobs' quote, the current status of a product's availability has no bearing at all on its copyright protection. Before I continue, California state law requires me to include this disclaimer: "I am not an attorney. If you need an attorney you should consult the services of a qualified professional in your area." With that out of the way, here's the dope: Works created on or after January 1, 1978 The following rules apply to published and unpublished works: * For one author, the work is copyright-protected for the life of the author plus 70 years. * For joint authors, the work is protected for the life of the surviving author plus 70 years. * For works made for hire, the work is protected for 95 years from the first publication or 120 years from the date of its creation, whichever is less. To the best of my knowledge, under both US law and the Berne Convention (which now has 163 signing nations) copyright is granted to the creator of a work regardless whether the work is ever even published at all, and remains in effect similarly without regard for continued publication or any public availability of any kind. You can create an image, sell it for one day, and then discontinue sales forever after and your copyright on any copies of that image you sold that day will still remain in effect for as long as you live plus 70 years. In brief, the creator of a work defines how the work is used. If you don't like the terms granted by the creator your only legal options are to wait a very long time, or simply to create your own original work and define its terms however you like. With HyperCard this would seem a minor issue, since in addition to being owned by someone else its icons are low-res, 1-bit, and in general rather dated. In the 12 years since HyperCard was last updated the rest of the world has continued to move forward, and today you can find thousands of free full-color icons all over the web: -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From sarah.reichelt at gmail.com Sun Aug 3 20:17:30 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 Aug 2008 10:17:30 +1000 Subject: Newsletter 54 Message-ID: Is it just me or is everyone having trouble with the newsletter? I am only a portion of each article. Sarah From sarah.reichelt at gmail.com Sun Aug 3 20:31:50 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 Aug 2008 10:31:50 +1000 Subject: Speeding up get URL In-Reply-To: References: Message-ID: On Mon, Aug 4, 2008 at 12:35 AM, Shari wrote: > Goal: Get a long list of website URLS, parse a bunch of data from each > page, if successful delete the URL from the list, if not put the URL on a > different list. I've got it working but it's slow. It takes about an hour > per 10,000 urls. I sell tshirts. Am using this to create informational > files for myself which will be frequently updated. I'll probably be running > this a couple times a month and expect my product line to just keep on > growing. I'm currently at about 40,000 products but look forward to the day > of hundreds of thousands :-) So speed is my need... (Yes, if you're > interested my store is in the signature, opened it last December :-) > > How do I speed this up? Shari, I think the delay will be due to the connection to the server, not your script, so there may not be a lot you can do about it. I did have one idea: can you try getting more than one URL at the same time? If you build a list of the URLs to check, then have a script that grabs the first one on the list, and sends a non-blocking request to that site, with a message to call when the data has all arrived. While waiting, start loading the next site and so on. Bookmark checking software seems to work like this. Would opening a socket and reading from the socket be any faster? I don't imagine that it would be, but it might be worth checking. The other option is just to adjust things so it is not intrusive e.g. have it download the sites overnight and save them all for processing when you are ready, or have a background app that does the downloading slowly (so it doesn't overload your system). Cheers, Sarah From sarah.reichelt at gmail.com Sun Aug 3 21:11:12 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 Aug 2008 11:11:12 +1000 Subject: RevMail strange behaviour in 3.0.0 (dp 9) and leopard In-Reply-To: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> References: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> Message-ID: On Sat, Aug 2, 2008 at 10:48 PM, Till Bandi wrote: > > revMail "guido at example.net" works fine in version 2.9. > > But in Version 3.0 I get > <> in the to-Line. > (Apple Mail). If I add the other parameters of the revMail command (Syntax: > revMail address[,ccAddress[,mailSubject[,messageBody]]]), as long as the > parameters are empty I still get the same indication of the font etc. When I > put one (blank or any) character into the second, third or fouth parameter > then the "to"- line in Mail is correct. > > Can anyone confirm this or has an explanation? (I am working with the > swiss-german localisation.) Confirmed, reported and I found the fix. Check the bug report Cheers, Sarah From JimAultWins at yahoo.com Sun Aug 3 21:57:47 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Sun, 03 Aug 2008 18:57:47 -0700 Subject: Speeding up get URL In-Reply-To: Message-ID: The major limitation for you case is that each request sent to a web server is dependent on the response time from that web server. Some servers intentionally return with a delay to control bandwidth demands and load balancing, especially if some of their hosted customers are downloading videos or games or music or flash files. You could add a timer to you process and find out which sites return the slowest, but this may not be true every time you access same site. The rate of 10,000 per hour sounds about right since most product pages on the internet are served from a database and are not static pages. One service provider that I extract data from does not want more than one hit every 50 seconds in order to be of service to hundreds of simultaneous users, so they protect themselves from "denial of service attacks" that overload their machines. One of my hosting companies does not charge extra for bandwidth, but has set the load balancing so that I could not serve videos effectively. Works great for blogs and low-volume pages. Not good for music and games. I would just let the app run overnight since you are only doing it a couple times a month. Of course you could run the app on two computers to double the speed, then merge the results. Another step might be to see if the sites have a listing page with you desired data. This might produce 10-50 products on one page rather than 10-50 different web pages. Jim Ault Las Vegas On 8/3/08 7:35 AM, "Shari" wrote: > Goal: Get a long list of website URLS, parse a bunch of data from > each page, if successful delete the URL from the list, if not put the > URL on a different list. I've got it working but it's slow. It > takes about an hour per 10,000 urls. I sell tshirts. Am using this > to create informational files for myself which will be frequently > updated. I'll probably be running this a couple times a month and > expect my product line to just keep on growing. I'm currently at > about 40,000 products but look forward to the day of hundreds of > thousands :-) So speed is my need... (Yes, if you're interested my > store is in the signature, opened it last December :-) > > How do I speed this up? > > # toDoList needs to have the successful URLs deleted, and failed URLs > moved to a different list > # that's why p down to 1, for the delete > # URLS are standard http://www.somewhere.com/somePage > > repeat with p = the number of lines of toDoList down to 1 > put url (line p of toDoList) into tUrl > # don't want to use *it* because there's a long script that follows > # *it* is too easily changed, though I've heard *it* is faster than > *put* > # do the stuff > if doTheStuffWorked then > delete line p of toDoList > else put p & return after failedList > updateProgressBar # another slowdown but necessary, gives a > count of how many left to do > end repeat From mfstuart at cox.net Mon Aug 4 00:46:56 2008 From: mfstuart at cox.net (Mark Stuart) Date: Sun, 3 Aug 2008 21:46:56 -0700 Subject: Video Editor Message-ID: <000001c8f5ed$1f5668b0$428b0544@stuart> Hi Chipp, I'm a member of the "use-revolution archive" community and had a question for you. I was wondering if your video editor was for sale? I was wanting something for my 15 yr old daughter to use to download video from the camera and then edit and create a DVD. What say you? Thanx, Mark Stuart From katheryn.swynford at gmail.com Mon Aug 4 03:07:17 2008 From: katheryn.swynford at gmail.com (Judy Perry) Date: Mon, 4 Aug 2008 00:07:17 -0700 Subject: Who owns old icons? In-Reply-To: <48961D33.5010707@fourthworld.com> References: <48961D33.5010707@fourthworld.com> Message-ID: <4be051070808040007n34887e8ei770b9317c01c186b@mail.gmail.com> Thanks, Richard, Kay & Mark (not in any particular order other than my late-night, brain-addled one)! I forget now what I was going to say... uhhhh.... Oh, yeah, the icons. Yeah, they're old, 1-bit, whatever... But they're still WAYYY COOOL in some cases! Newer ain't always better... I can't tell you how many times I've reached out for the beautiful simplicity of the stack icon, or the speaker icon, the arrows... etc. Sheer simplistic beauty. I LOVED that screen with all of the miniature graphics. I still keep around an old OS9 egg-shaped original iMac just for that purpose! (well, okay, that and running the FLYINGCOLORS kidpix-on-steroids app that's only OS9). Apple didn't hire an artist who specialized in miniaturization for nothing! 24-bit new crap is still crap... Judy On Sun, Aug 3, 2008 at 2:03 PM, Richard Gaskin wrote: > In spite of any statements from Apple Europe, the last official public > statement from any authorized representative from Apple's heaquarters in > Cupertino was: > > "There have been some rumors about us canceling HyperCard, > which are totally bu||sh*t." > - Steve Jobs, October 1998, CAUSE Conference > > You can enjoy an audio clip of that here: > AFAIK, no public statement to the contrary has ever been issued from Apple's > main office. > > But no matter how much fun we may have with Jobs' quote, the current status > of a product's availability has no bearing at all on its copyright > protection. > > Before I continue, California state law requires me to include this > disclaimer: "I am not an attorney. If you need an attorney you should > consult the services of a qualified professional in your area." > > With that out of the way, here's the dope: > > Works created on or after January 1, 1978 > > The following rules apply to published and unpublished works: > > * For one author, the work is copyright-protected for the life > of the author plus 70 years. > > * For joint authors, the work is protected for the life of the > surviving author plus 70 years. > > * For works made for hire, the work is protected for 95 years > from the first publication or 120 years from the date of its > creation, whichever is less. > > > > To the best of my knowledge, under both US law and the Berne Convention > (which now has 163 signing nations) copyright is granted to the creator of a > work regardless whether the work is ever even published at all, and remains > in effect similarly without regard for continued publication or any public > availability of any kind. > > You can create an image, sell it for one day, and then discontinue sales > forever after and your copyright on any copies of that image you sold that > day will still remain in effect for as long as you live plus 70 years. > > In brief, the creator of a work defines how the work is used. If you don't > like the terms granted by the creator your only legal options are to wait a > very long time, or simply to create your own original work and define its > terms however you like. > > With HyperCard this would seem a minor issue, since in addition to being > owned by someone else its icons are low-res, 1-bit, and in general rather > dated. In the 12 years since HyperCard was last updated the rest of the > world has continued to move forward, and today you can find thousands of > free full-color icons all over the web: > > > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From katheryn.swynford at gmail.com Mon Aug 4 03:10:17 2008 From: katheryn.swynford at gmail.com (Judy Perry) Date: Mon, 4 Aug 2008 00:10:17 -0700 Subject: Newsletter 54 In-Reply-To: References: Message-ID: <4be051070808040010w69bdec2fsd648cc7f5ea5eba5@mail.gmail.com> Hi Sarah, I seem to be well-blessed in that I have no difficulties accessing the newsletter and its contents. Most unusual, I know... Sorry, Judy On Sun, Aug 3, 2008 at 5:17 PM, Sarah Reichelt wrote: > Is it just me or is everyone having trouble with the newsletter? I am > only a portion of each article. > > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From sarah.reichelt at gmail.com Mon Aug 4 03:20:21 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 4 Aug 2008 17:20:21 +1000 Subject: The Euro symbol Message-ID: Hi people, Can anyone give me some advice on the cross-platform issues with the Euro symbol? On my Mac, numToChar(216) gives the Euro symbol, but on my Windows virtual machine, that doesn't work, but numToChar(128) does. Is this correct for all varieties of Windows? I am helping with an app that switches currencies and is cross-platform. The currency symbol occurs in fields all over the app so it takes a while to change. Before building a standalone, we set the symbol as required, then build the version for that currency. Now it appears that we have to set the euro symbol to one thing, build for Mac, then set it to something else and build for Windows. Surely there has to be an easier, more standard way to handle the Euro symbol? TIA, Sarah From eric.chatonet at sosmartsoftware.com Mon Aug 4 03:52:30 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Aug 2008 09:52:30 +0200 Subject: The Euro symbol In-Reply-To: References: Message-ID: <4F495273-86AC-4E63-A6C5-D5DA65553F4B@sosmartsoftware.com> Bonjour Sarah, ?, ? and $ on Win: 128, 163, 36 ?, ? and $ on Mac: 219, 163, 36 Probably can you test the platform and use 128 or 219 according to it? Money apps are a pain... The problem will not be solved ;-) For instance: $10.50 (English) and 10,50 ? (French) The best way should probably to get the current money format from the system (International/Formats on Mac OS and... on Win) I wonder if this kind of issue has not been treated yet on the list two years ago. Le 4 ao?t 08 ? 09:20, Sarah Reichelt a ?crit : > Hi people, > > Can anyone give me some advice on the cross-platform issues with the > Euro symbol? > > On my Mac, numToChar(216) gives the Euro symbol, but on my Windows > virtual machine, that doesn't work, but numToChar(128) does. Is this > correct for all varieties of Windows? > > I am helping with an app that switches currencies and is > cross-platform. The currency symbol occurs in fields all over the app > so it takes a while to change. Before building a standalone, we set > the symbol as required, then build the version for that currency. Now > it appears that we have to set the euro symbol to one thing, build for > Mac, then set it to something else and build for Windows. > > Surely there has to be an easier, more standard way to handle the > Euro symbol? Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From shari at gypsyware.com Mon Aug 4 03:52:07 2008 From: shari at gypsyware.com (Shari) Date: Mon, 4 Aug 2008 03:52:07 -0400 Subject: Speeding up get URL In-Reply-To: References: Message-ID: Good suggestions, Sarah. Thank you! I've settled on a solution that's going to partly go in the back door (retrieving their XML data via their affiliate door) and partly go in the front door (get or load url). So I'll parse what I can from their affiliate XML files and do the rest the other way. That should cut down on the load to them, speed it up, and still give me all the data I'm seeking. It should cut the pages for get/load url down to a small percentage of the total retrieve. I'm excited for the end result as this is going to really be beneficial to my business :-) Two more days to hopefully find out if I sold Herman Silver on their own copy of Rev... It kills me to do things in Excel there that could be done sooo much better with Rev... Excel is so limiting when you have too many sheets tying in to other sheets I've discovered. And all day long I'm thinking gee, this would be so much better with Revolution. :-) Shari >Shari, I think the delay will be due to the connection to the server, >not your script, so there may not be a lot you can do about it. > >I did have one idea: can you try getting more than one URL at the same >time? If you build a list of the URLs to check, then have a script >that grabs the first one on the list, and sends a non-blocking request >to that site, with a message to call when the data has all arrived. >While waiting, start loading the next site and so on. Bookmark >checking software seems to work like this. > >Would opening a socket and reading from the socket be any faster? I >don't imagine that it would be, but it might be worth checking. > >The other option is just to adjust things so it is not intrusive e.g. >have it download the sites overnight and save them all for processing >when you are ready, or have a background app that does the downloading >slowly (so it doesn't overload your system). > >Cheers, >Sarah -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From shari at gypsyware.com Mon Aug 4 04:17:19 2008 From: shari at gypsyware.com (Shari) Date: Mon, 4 Aug 2008 04:17:19 -0400 Subject: Speeding up get URL In-Reply-To: References: Message-ID: >One service provider that I extract data from does not want more than one >hit every 50 seconds in order to be of service to hundreds of simultaneous >users, so they protect themselves from "denial of service attacks" that >overload their machines. I did notice that even with their affiliate XML file access there's a mention of "too many requests per second" which would produce an error. So they probably do have some sort of built in safety valve. By the way, thank you Jim for prodding me to look into their back door. I will be getting some of the data that way. Shari -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From viktoras at ekoinf.net Mon Aug 4 04:35:34 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Mon, 04 Aug 2008 11:35:34 +0300 Subject: Getting the text content of a HTML page In-Reply-To: References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA> Message-ID: <4896BF56.6000303@ekoinf.net> one more way to do things using regular expressions: put the replaceText(myText,"","") into myText will simply replace all tags with empty string. Where myText is the text where replacements have to be made. is a regular expression matching most html tags and "" is empty replacement string. Viktoras From m.schonewille at economy-x-talk.com Mon Aug 4 06:41:18 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Aug 2008 12:41:18 +0200 Subject: Looking for programmer of externals Message-ID: <5AEE88F6-057D-469D-B484-FD033AAF8978@economy-x-talk.com> Hello, Economy-x-Talk is still looking for someone who would be able to help me writing a simple external. It appeared I just can't find the time to write externals, because I am too busy managing projects and programming in Revolution. Currently, I have four or five externals I would like to write, for Windows and Mac OS X. If anyone would like to make a little bit of extra money and has the required skills, please contact me. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. From hbaric at gmail.com Mon Aug 4 07:01:17 2008 From: hbaric at gmail.com (H Baric) Date: Mon, 4 Aug 2008 21:01:17 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA> <4896BF56.6000303@ekoinf.net> Message-ID: <008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA> Thanks Viktoras, Can you (or if anyone else reading has a moment) please help me understand more about what each part of the is the "" is about? Actually, mostly, what the "/?" bit does? (I was reading the manual yesterday on this, and am confused because I thought "/" before a character means the exact literal character that follows it? Or is that the backslash? Haven't got it open to check). And, the "?" I thought is for just one character, unlike the "*" which is for multiple/any? And lastly, does everything in between "[" and "]" mean any combination of any letter in that range? In that case, what else, in other circumstances, could be used within the square brackets? (examples?) eg 1-9? 3-7? A-M? p-w?! What about anything else? Like another expression? Or are there set ummm... "arguments" (is that the term) that can only be used there? Thanks in advance if you or anyone else who has some time to give me a bit of an explanation / mini tute! The docs are great, but sometimes I wish they were more in depth including more examples and possibilities etc. As a beginner, sometimes I read one thing and don't realise there's actually a whole universe under that scratch of the surface. And I know, as a beginner, I'm not ready to NEED most of what is there, but knowing more (again, more actual examples with explanations) helps to put it into perspective and understand the hows and whys of it. If that makes any sense! Which is why RevOnline is great, as are the forums, the examples and workshops, and ofcourse this group! :) Cheers, Heather ----- Original Message ----- From: "viktoras didziulis" Subject: Re: Getting the text content of a HTML page one more way to do things using regular expressions: put the replaceText(myText,"","") into myText will simply replace all tags with empty string. Where myText is the text where replacements have to be made. is a regular expression matching most html tags and "" is empty replacement string. Viktoras From eric.chatonet at sosmartsoftware.com Mon Aug 4 07:56:57 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Aug 2008 13:56:57 +0200 Subject: Getting the text content of a HTML page In-Reply-To: <008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA> <4896BF56.6000303@ekoinf.net> <008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA> Message-ID: Bonjour Heather, Le 4 ao?t 08 ? 13:01, H Baric a ?crit : > Can you (or if anyone else reading has a moment) please help me > understand > more about what each part of the is the "" is about? I assume you use Rev 2.9: there is a search tool named 'Rev Search Engine' in the IDE that could help you in many fields. See 'Help/Rev Search Engine' menu item. For instance, after having selected the 'Web database' pane, searching for regex will give you three links: http://support.runrev.com/scriptingconferences/ wher you'll find, among others, a nice course of Alex Tweedly about text munging including regex. In this stack you'll find another interesting link: http://www.pcre.org/ (regex docs) http://regexlib.com/default.aspx a regex library. http://rinaldicollection.free.fr/frevplugins_frame.htm an utility to build regex in Rev by Frederic Rinaldi. See Rev Search Engine docs: it provides many ways to get information you need in any field. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From alex at tweedly.net Mon Aug 4 08:13:18 2008 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 04 Aug 2008 13:13:18 +0100 Subject: Speeding up get URL In-Reply-To: References: Message-ID: <4896F25E.7060408@tweedly.net> Sorry if this message comes through twice - first attempt might have failed, so I'm resending form a different account. Sarah Reichelt wrote: > On Mon, Aug 4, 2008 at 12:35 AM, Shari wrote: > >> Goal: Get a long list of website URLS, parse a bunch of data from each >> page, if successful delete the URL from the list, if not put the URL on a >> different list. I've got it working but it's slow. It takes about an hour >> per 10,000 urls. I sell tshirts. Am using this to create informational >> files for myself which will be frequently updated. I'll probably be running >> this a couple times a month and expect my product line to just keep on >> growing. I'm currently at about 40,000 products but look forward to the day >> of hundreds of thousands :-) So speed is my need... (Yes, if you're >> interested my store is in the signature, opened it last December :-) >> >> How do I speed this up? >> > > Shari, I think the delay will be due to the connection to the server, > not your script, so there may not be a lot you can do about it. > > I did have one idea: can you try getting more than one URL at the same > time? If you build a list of the URLs to check, then have a script > that grabs the first one on the list, and sends a non-blocking request > to that site, with a message to call when the data has all arrived. > While waiting, start loading the next site and so on. Bookmark > checking software seems to work like this. > > You should be able to achieve that using 'load URL' - set off a number of 'load's going and then by checking the URLstatus you can process them as they have finished arriving to your machine; and as the number of outstanding requested URLs decreases, set off the next batch of 'load's. But the likelihood is that this would only make a small difference - the majority of the time is probably due to either the server response times and/or the delay in simply downloading all those bytes to your machine. Out of interest I'd be inclined to count the number of bytes transferred per URL and see if that is a significant percentage of your connection capacity. Are you running these from a machine behind a (relatively) slow Internet connection, such as a DSL or cable modem ? If so, you might get a big improvement by converting the script into a CGI script, and running it on your own web-hosting server; that would give you an effective bandwidth based on the ISP, rather than on a slow DSL-like connection. (I have a vaguely similar script I run from my site that is approx 1000x times faster than running it from home on a 8Mbs DSL - the lower latency helps as much as the increased bandwidth). But beware - if there are any issues with looking like a DoS attack, or sending too many requests per second, this might be much more likely to trigger them; you may also run into issues with usage of CPU and/or bandwidth on your hosting-ISP. > Would opening a socket and reading from the socket be any faster? I > don't imagine that it would be, but it might be worth checking. > > The other option is just to adjust things so it is not intrusive e.g. > have it download the sites overnight and save them all for processing > when you are ready, or have a background app that does the downloading > slowly (so it doesn't overload your system). > On that same idea, but taking it further (maybe too far) - how absolutely up-to-date does the info need to be when you run the script ? Could you process a few thousand URLs per night, caching either the URLs as files locally, or caching the extracted data from them. Then when you want to run your script, you use all the cached data - so some of it is right up to date, while other parts may be up to a few days old. You may also know, or be able to find out, which of the URLs tend to change frequently, and therefore bias the background processing accordingly. And, finally, a couple of trivial issues ..... > > # toDoList needs to have the successful URLs deleted, and failed URLs > moved to a different list > # that's why p down to 1, for the delete > # URLS are standard http://www.somewhere.com/somePage > > repeat with p = the number of lines of toDoList down to 1 > put url (line p of toDoList) into tUrl > # don't want to use *it* because there's a long script that follows > # *it* is too easily changed, though I've heard *it* is faster > than *put* > # do the stuff > if doTheStuffWorked then > delete line p of toDoList > else put p & return after failedList > updateProgressBar # another slowdown but necessary, gives a > count of how many left to do > end repeat I don't fully understand this (??). What you describe is doing BOTH delete the successful ones, and ALSO save the failed ones - so at the end, toDoList should finish up the same as failedList. But what your pseudo-code actually does is save the indexes of the failed URLs - which become invalid once you delete lower numbered lines; I think you intended to do else put (line p of toDoList) after failedList If you are saving the failedList, then there is no need to modify the toDoList - so I'd simply change the loop to be repeat for each line tURLName of toDoList put url tURLName into tURL ..... else put tURLName after failedList etc. Of course, this isn't going to make any noticeable difference to the processing speed, but I think it's worth changing just to make it cleaner and easier to understand / maintain. Similarly, the updating of the progress bar is unlikely to be significant compared to downloading the URLs, but you could do something to minimize it - either update it only every second (or every few seconds), or every 100 (1000?) URLs processed, etc. I personally really, really like to see the estimated time left as well as the number left to do - even a not very good estimate is better than my mental arithmetic :-) -- Alex. -- Alex Tweedly mailto:alex at tweedly.net www.tweedly.net From hbaric at gmail.com Mon Aug 4 08:24:46 2008 From: hbaric at gmail.com (H Baric) Date: Mon, 4 Aug 2008 22:24:46 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA><4896BF56.6000303@ekoinf.net><008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA> Message-ID: <00c801c8f62d$162ae410$0a01010a@ANNIESPUTA> Thanks Eric, I'm sitting here reading your message thinking "what the heck is regex" then it clicked! Haha, see how much I don't know yet? :-P Thanks VERY much Eric, I was just actually using the Rev Search then when your message came in! Wow, great stuff! I'm off to explore more of the Rev universe... :D Thanks again :) Kindest regards, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Monday, August 04, 2008 9:56 PM Subject: Re: Getting the text content of a HTML page Bonjour Heather, Le 4 ao?t 08 ? 13:01, H Baric a ?crit : > Can you (or if anyone else reading has a moment) please help me > understand > more about what each part of the is the "" is about? I assume you use Rev 2.9: there is a search tool named 'Rev Search Engine' in the IDE that could help you in many fields. See 'Help/Rev Search Engine' menu item. For instance, after having selected the 'Web database' pane, searching for regex will give you three links: http://support.runrev.com/scriptingconferences/ wher you'll find, among others, a nice course of Alex Tweedly about text munging including regex. In this stack you'll find another interesting link: http://www.pcre.org/ (regex docs) http://regexlib.com/default.aspx a regex library. http://rinaldicollection.free.fr/frevplugins_frame.htm an utility to build regex in Rev by Frederic Rinaldi. See Rev Search Engine docs: it provides many ways to get information you need in any field. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Mon Aug 4 08:47:32 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Aug 2008 14:47:32 +0200 Subject: Getting the text content of a HTML page In-Reply-To: <00c801c8f62d$162ae410$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA><4896BF56.6000303@ekoinf.net><008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA> <00c801c8f62d$162ae410$0a01010a@ANNIESPUTA> Message-ID: Thanks for the kind words: I wrote the Rev Search Engine to help all and very often it helps me too :-) I'm really sorry about using 'regex' in my last post but you guessed it: 'regular expression'. I'm sure you'll become a respected contributor shortly: you make really quick progress :-) And, as you saw it, this list is very kind and helpful. Just a tip: many of us are not in Europa then posting in the evening is sometimes a good idea to be read shortly in the US, Brazil, Hawaii and many other friends places ;-) Le 4 ao?t 08 ? 14:24, H Baric a ?crit : > Thanks Eric, > > I'm sitting here reading your message thinking "what the heck is > regex" then > it clicked! Haha, see how much I don't know yet? :-P > > Thanks VERY much Eric, I was just actually using the Rev Search > then when > your message came in! Wow, great stuff! I'm off to explore more of > the Rev > universe... :D > > Thanks again :) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From tbandi at swissonline.ch Mon Aug 4 08:54:56 2008 From: tbandi at swissonline.ch (Till Bandi) Date: Mon, 4 Aug 2008 14:54:56 +0200 Subject: RevMail strange behaviour in 3.0.0 (dp 9) and leopard In-Reply-To: References: <8B4E11BE-7167-4608-B8C1-DE533A5527CF@swissonline.ch> Message-ID: Thanks! Am 04.08.2008 um 03:11 schrieb Sarah Reichelt: > On Sat, Aug 2, 2008 at 10:48 PM, Till Bandi > wrote: >> >> revMail "guido at example.net" works fine in version 2.9. >> >> But in Version 3.0 I get >> <> in the >> to-Line. >> (Apple Mail). If I add the other parameters of the revMail command >> (Syntax: >> revMail address[,ccAddress[,mailSubject[,messageBody]]]), as long >> as the >> parameters are empty I still get the same indication of the font >> etc. When I >> put one (blank or any) character into the second, third or fouth >> parameter >> then the "to"- line in Mail is correct. >> >> Can anyone confirm this or has an explanation? (I am working with the >> swiss-german localisation.) > > > Confirmed, reported and I found the fix. > Check the bug report > > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From harrison at all-auctions.com Mon Aug 4 09:09:14 2008 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 4 Aug 2008 09:09:14 -0400 Subject: Speeding up get URL In-Reply-To: References: Message-ID: On Aug 4, 2008, at 4:17 AM, Shari wrote: >> One service provider that I extract data from does not want more >> than one >> hit every 50 seconds in order to be of service to hundreds of >> simultaneous >> users, so they protect themselves from "denial of service attacks" >> that >> overload their machines. Hi Shari, What URL are you harvesting all the data from? Most affiliate type websites usually don't want users doing this activity. If you've found one that allows it we'd like to know more about it! Thanks in advance! Rick From bdrunrev at gmail.com Mon Aug 4 09:47:52 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Mon, 4 Aug 2008 14:47:52 +0100 Subject: Speeding up get URL In-Reply-To: References: Message-ID: I think you've had a lot of good suggestions for solving this problem. However, depending on the kind of data you're trying to parse out (and the frequency with which that data changes), you might be better to let Google or Yahoo do the search (using the kind of advanced search like: "some meaningful phrase" OR "another meaningful phrase" allinurl: somedomain.com The search engine would then return the results to you, and you could then proceed to download the actual pages that match, and parse them further. I believe most of the major search engines have APIs for returning search results as XML. I certainly used Yahoo to to this before. You'd need to look at the APIs for search to see if they contain features that would work for the kind of information you're trying to find. Bernard From harrison at all-auctions.com Mon Aug 4 10:15:56 2008 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 4 Aug 2008 10:15:56 -0400 Subject: Who owns old icons? In-Reply-To: <5D549A1A-8556-4EAA-B81B-78118E0A8C80@economy-x-talk.com> References: <531244.95992.qm@web37503.mail.mud.yahoo.com> <5D549A1A-8556-4EAA-B81B-78118E0A8C80@economy-x-talk.com> Message-ID: <3BBD98E4-5CF0-4B21-B830-CD23A0CDC216@all-auctions.com> Unless Apple, Inc. has put all of HyperCard into the public domain, the HyperCard icons are still owned by Apple, Inc. According to www.wikipedia.org: "The Copyright Term Extension Act (CTEA) of 1998 ? alternatively known as the Sonny Bono Copyright Term Extension Act, Sonny Bono Act, or pejoratively as the Mickey Mouse Protection Act ? extended copyright terms in the United States by 20 years. Before the Act (under the Copyright Act of 1976), copyright would last for the life of the author plus 50 years, or 75 years for a work of corporate authorship; the Act extended these terms to life of the author plus 70 years and for works of corporate authorship to 120 years after creation or 95 years after publication, whichever endpoint is earlier.[1] The Act also affected copyright terms for copyrighted works published prior to January 1, 1978, also increasing their term of protection by 20 years, to a total of 95 years from publication." Unless you can either confirm that Apple, Inc. has put HyperCard into the public domain, or you have obtained permission from the Apple, Inc. legal department, you cannot do what you want with those icons. Yes, I know it seems terrible, but if you were Apple, Inc. I'm sure you would want to protect your under used icons too. After all Apple might want to consider using them for some different application in the future. wikipedia.org has a lot more information about copyright, and I suggest that anyone who is interested to check it out. From lists at futilism.com Mon Aug 4 10:16:57 2008 From: lists at futilism.com (Mark Smith) Date: Mon, 4 Aug 2008 15:16:57 +0100 Subject: Speeding up get URL In-Reply-To: <4896F25E.7060408@tweedly.net> References: <4896F25E.7060408@tweedly.net> Message-ID: <96FDF7D2-6A75-4A3F-9F08-720F62223A36@futilism.com> Very good point about doing it from a remote server - if the speed difference were great, then an hourly-paid Amazon EC2 server might be just the job... Mark On 4 Aug 2008, at 13:13, Alex Tweedly wrote: > > If so, you might get a big improvement by converting the script > into a CGI script, and running it on your own web-hosting server; > that would give you an effective bandwidth based on the ISP, rather > than on a slow DSL-like connection. (I have a vaguely similar > script I run from my site that is approx 1000x ... From ambassador at fourthworld.com Mon Aug 4 11:25:23 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Aug 2008 08:25:23 -0700 Subject: Getting the text content of a HTML page Message-ID: <48971F63.4040807@fourthworld.com> viktoras didziulis wrote: > one more way to do things using regular expressions: > > put the replaceText(myText,"","") into myText > > will simply replace all tags with empty string. Where myText is the text > where replacements have to be made. is a regular > expression matching most html tags and "" is empty replacement string. Always looking for potential optimizations, I was going to benchmark that here but couldn't get it to work, even after removing "the". :( -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mfstuart at cox.net Mon Aug 4 11:38:38 2008 From: mfstuart at cox.net (mfstuart) Date: Mon, 4 Aug 2008 08:38:38 -0700 (PDT) Subject: Video Editor In-Reply-To: <000001c8f5ed$1f5668b0$428b0544@stuart> References: <000001c8f5ed$1f5668b0$428b0544@stuart> Message-ID: <18813690.post@talk.nabble.com> Sorry folks, that message was to have gone directly to Chipp. Must have used the wrong email address. @@ ---- Regards, Mark Stuart mfstuart wrote: > > Hi Chipp, > > > > I'm a member of the "use-revolution archive" community and had a question > for you. > > > > I was wondering if your video editor was for sale? > > I was wanting something for my 15 yr old daughter to use to download video > from the camera and then edit and create a DVD. > > > > What say you? > > > > Thanx, Mark Stuart > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Video-Editor-tp18805610p18813690.html Sent from the Revolution - User mailing list archive at Nabble.com. From johnpatten at mac.com Mon Aug 4 11:52:58 2008 From: johnpatten at mac.com (John Patten) Date: Mon, 04 Aug 2008 08:52:58 -0700 Subject: REV Send Email via CGI and mail.php script on the fly? Message-ID: <79774829120086754811575012080816259762-Webmail2@me.com> Hi All... Quick question, i have some projects that multiple teachers will use with their students and I would like the student results to be emailed back to their teachers. I would like this process to be transparent to the student using the stack. Can the following be done? I would like the rev project to "post" the student data and the identified teacher's email address (saved is stack profile settings) to the built in smtp mail.php script. I know I can get the rev stack to post to the mail.php file, but the mail php file has to be dynamic is determining what teacher's email address to send to. I was wondering if I could post the teacher's email address and the student project data to a rev cgi project on the server, and then have the rev cgi project, on the fly, create the mail.php file with the correct email address and email the student data to the teacher? Essentially, the rev cgi project would create the mail.php file based on the submitted email address, forward the student data to the file it just created (mail.php) and then possibly delete the mail.php file and wait for the next post. Can a rev cgi create a mail.php file, execute the php file by forwarding data to it, and then delete the file it created, all in one swoop? Thank you! John Patten SUSD From eric.chatonet at sosmartsoftware.com Mon Aug 4 12:06:10 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Mon, 4 Aug 2008 18:06:10 +0200 Subject: REV Send Email via CGI and mail.php script on the fly? In-Reply-To: <79774829120086754811575012080816259762-Webmail2@me.com> References: <79774829120086754811575012080816259762-Webmail2@me.com> Message-ID: <98881394-2712-4821-A41B-AA16FFFE3A64@sosmartsoftware.com> Bonsoir John, I remember a project I made three years ago that allowed the desktop based user to send an email to an author (the project was kind of eBook). I used directly a php script on the server, passing the data and the address without having to set up any Rev CGI. For security reasons, there was an exchange of password created on- the-fly between the server and the desktop based application. I don't remember exactly how we made it but the point is: . No CGI needed. . No emailer needed of course. The text was typed by the user and he had only to click 'Send to the author'. Probably, somebody will chime in with details about the PHP script needed I have no longer on hand. Le 4 ao?t 08 ? 17:52, John Patten a ?crit : > Hi All... > > Quick question, i have some projects that multiple teachers will > use with their students and I would like the student results to be > emailed back to their teachers. > > I would like this process to be transparent to the student using > the stack. Can the following be done? > > I would like the rev project to "post" the student data and the > identified teacher's email address (saved is stack profile > settings) to the built in smtp mail.php script. I know I can get > the rev stack to post to the mail.php file, but the mail php file > has to be dynamic is determining what teacher's email address to > send to. > > I was wondering if I could post the teacher's email address and the > student project data to a rev cgi project on the server, and then > have the rev cgi project, on the fly, create the mail.php file with > the correct email address and email the student data to the teacher? > > Essentially, the rev cgi project would create the mail.php file > based on the submitted email address, forward the student data to > the file it just created (mail.php) and then possibly delete the > mail.php file and wait for the next post. > > Can a rev cgi create a mail.php file, execute the php file by > forwarding data to it, and then delete the file it created, all in > one swoop? > > Thank you! > > John Patten Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From lists at futilism.com Mon Aug 4 12:14:50 2008 From: lists at futilism.com (Mark Smith) Date: Mon, 4 Aug 2008 17:14:50 +0100 Subject: REV Send Email via CGI and mail.php script on the fly? In-Reply-To: <98881394-2712-4821-A41B-AA16FFFE3A64@sosmartsoftware.com> References: <79774829120086754811575012080816259762-Webmail2@me.com> <98881394-2712-4821-A41B-AA16FFFE3A64@sosmartsoftware.com> Message-ID: I'd also point out that it should also be possible to a) send the mail directly from the student to the teacher and b) use a rev CGI on the server without a php script. Best, Mark On 4 Aug 2008, at 17:06, Eric Chatonet wrote: > Bonsoir John, > > I remember a project I made three years ago that allowed the > desktop based user to send an email to an author (the project was > kind of eBook). > I used directly a php script on the server, passing the data and > the address without having to set up any Rev CGI. > For security reasons, there was an exchange of password created on- > the-fly between the server and the desktop based application. > I don't remember exactly how we made it but the point is: > . No CGI needed. > . No emailer needed of course. > The text was typed by the user and he had only to click 'Send to > the author'. > Probably, somebody will chime in with details about the PHP script > needed I have no longer on hand. > > Le 4 ao?t 08 ? 17:52, John Patten a ?crit : > >> Hi All... >> >> Quick question, i have some projects that multiple teachers will >> use with their students and I would like the student results to be >> emailed back to their teachers. >> >> I would like this process to be transparent to the student using >> the stack. Can the following be done? >> >> I would like the rev project to "post" the student data and the >> identified teacher's email address (saved is stack profile >> settings) to the built in smtp mail.php script. I know I can get >> the rev stack to post to the mail.php file, but the mail php file >> has to be dynamic is determining what teacher's email address to >> send to. >> >> I was wondering if I could post the teacher's email address and >> the student project data to a rev cgi project on the server, and >> then have the rev cgi project, on the fly, create the mail.php >> file with the correct email address and email the student data to >> the teacher? >> >> Essentially, the rev cgi project would create the mail.php file >> based on the submitted email address, forward the student data to >> the file it just created (mail.php) and then possibly delete the >> mail.php file and wait for the next post. >> >> Can a rev cgi create a mail.php file, execute the php file by >> forwarding data to it, and then delete the file it created, all in >> one swoop? >> >> Thank you! >> >> John Patten > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From jbv.silences at club-internet.fr Mon Aug 4 12:26:06 2008 From: jbv.silences at club-internet.fr (jbv) Date: Mon, 04 Aug 2008 18:26:06 +0200 Subject: REV Send Email via CGI and mail.php script on the fly? References: <79774829120086754811575012080816259762-Webmail2@me.com> Message-ID: <48972D8C.6A70152E@club-internet.fr> John , > > > Can a rev cgi create a mail.php file, execute the php file by forwarding data to it, and then delete the file it created, all in one swoop? > the answer is "yes". You don't even need to create a file and then delete it... I've been doing that for years : my Rev cgi script calls a php lib with all the requested parameters... I'm using a php lib because I found one very useful on some website and didn't want to bother writing my own... And I'm using a Rev cgi script because, apart from sending emails, I have numerous tasks to do that are easier to code in Rev than in php, but you can make it simpler : just send a POST request from your stack to a simple php script on your server... Best, JB From JimAultWins at yahoo.com Mon Aug 4 12:25:23 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 04 Aug 2008 09:25:23 -0700 Subject: Getting the text content of a HTML page In-Reply-To: <48971F63.4040807@fourthworld.com> Message-ID: On 8/4/08 8:25 AM, "Richard Gaskin" wrote: > viktoras didziulis wrote: >> one more way to do things using regular expressions: >> >> put the replaceText(myText,"","") into myText >> >> will simply replace all tags with empty string. Where myText is the text >> where replacements have to be made. is a regular >> expression matching most html tags and "" is empty replacement string. > > Always looking for potential optimizations, I was going to benchmark > that here but couldn't get it to work, even after removing "the". :( ------------------------------- >> put the replaceText(myText,"","") into myText The problem with this may be that it only looks for alpha chars, not spaces or numbers, quotes or equal signs therefore it finds less matches depending on the html oops, these don't match and won't be replaced with empty --------------
This is a table. Can you see this text?

works on this tag ------------- Making this bold put "" into newString put "(?U)<.*> into regEx put replaceText(myText,regEx,newString) into myText By the way, (?U) says "make the shortest match possible" (?Ui) says "make the shortest match ignoring case" (?Usi) says "make the shortest match, ignoring case, and staying on the same line" ( the opposite is ignore line returns to make the match) So (?U)<.*> says "find a < char, then scan the text as long as you find any character for as long as it takes to find the next >" The dot means any character, the * means unlimited number of chars the (? says "this is a directive you must follow, Mr RegEx Engine" If you did not use (?U) [stands for "Ungreedy"], the default behavior is to find the longest possible match. For HTML, that would mean the entire document would be selected as one chunk, because would qualify for the first < and the last > using the expression put "<.*>" into regEx Hope this helps those diving in to 'get' regular expressions. The benchmarking you will do will show the inherent slowness of regular expressions since they actually scan the text forward and back depending on the complexity of the expression and the text block being scanned and the number of successful matches. This is why filter and for each are so efficient most times. Jim Ault Las Vegas On 8/4/08 8:25 AM, "Richard Gaskin" wrote: > viktoras didziulis wrote: >> one more way to do things using regular expressions: >> >> put the replaceText(myText,"","") into myText >> >> will simply replace all tags with empty string. Where myText is the text >> where replacements have to be made. is a regular >> expression matching most html tags and "" is empty replacement string. > > Always looking for potential optimizations, I was going to benchmark > that here but couldn't get it to work, even after removing "the". :( From geradamas at yahoo.com Mon Aug 4 12:47:05 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 4 Aug 2008 09:47:05 -0700 (PDT) Subject: Who owns old icons? Message-ID: <174086.5703.qm@web37501.mail.mud.yahoo.com> Rick Harrison wrote: "Unless Apple, Inc. has put all of HyperCard into the public domain, the HyperCard icons are still owned by Apple, Inc." which seems pretty clear and unequivocal. However, old icons are a bit like my face: I own my face, and were somebody to mysteriously remove it and graft it on to another person they would have stolen it. However, journalists and others photograph people's faces and publish them everywhere without so much as a backward glance; and they cannot be said to have "stolen people's faces", or even their likenesses. Now, were I to post the HyperCard application, or, say, a ResEdit document containing Hypercard icons on a website and/or user group I would have stolen the icons. However, were I to post (as, indeed I have done) photographs (i.e. screenshots) of HyperCard icons; this would be similar to an individual publishing a photograph of me s/he took. Of course if it were of me, say, in my bath with a plastic duck,I might feel fairly cheesed-off, and that it were an invasion of privacy. Apple have never hid their HyperCard icons in the "bathroom" (they have flashed them around like nobody's business), and the 'photographs' of them published on my Yahoo Group http://tech.groups.yahoo.com/group/RsHYPERCARD are not "with plastic ducks"; in fact no 'value judgements' are attached to them at all. Not the same situations, at all! sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From mikeythek at gmail.com Mon Aug 4 12:53:23 2008 From: mikeythek at gmail.com (Mikey) Date: Mon, 4 Aug 2008 12:53:23 -0400 Subject: Who owns old icons? In-Reply-To: <174086.5703.qm@web37501.mail.mud.yahoo.com> References: <174086.5703.qm@web37501.mail.mud.yahoo.com> Message-ID: <9b408d8e0808040953w702add0dnfe2edcc8d6a97b0b@mail.gmail.com> Despite discussions to the contrary, at least according to this article in Wikipedia , abandonware is still protected by copyright, regardless of a copyright holder's lack of enforcement. From geradamas at yahoo.com Mon Aug 4 12:54:54 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 4 Aug 2008 09:54:54 -0700 (PDT) Subject: Who owns old icons? Message-ID: <341943.15267.qm@web37505.mail.mud.yahoo.com> I am startling unoriginal: http://www.mail-archive.com/freecard-general at lists.sourceforge.net/msg00420.html ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From devin_asay at byu.edu Mon Aug 4 12:58:48 2008 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 4 Aug 2008 10:58:48 -0600 Subject: The Euro symbol In-Reply-To: References: Message-ID: On Aug 4, 2008, at 1:20 AM, Sarah Reichelt wrote: > Hi people, > > Can anyone give me some advice on the cross-platform issues with the > Euro symbol? > > On my Mac, numToChar(216) gives the Euro symbol, but on my Windows > virtual machine, that doesn't work, but numToChar(128) does. Is this > correct for all varieties of Windows? > > I am helping with an app that switches currencies and is > cross-platform. The currency symbol occurs in fields all over the app > so it takes a while to change. Before building a standalone, we set > the symbol as required, then build the version for that currency. Now > it appears that we have to set the euro symbol to one thing, build for > Mac, then set it to something else and build for Windows. > > Surely there has to be an easier, more standard way to handle the > Euro symbol? I'd use one of two methods: 1. The html entity for the Euro symbol is "¤" Save this as a custom property of the field, say the euroSymbol of fld "currency" Then set the htmlText of the field: set the htmlText of fld "currency" to the euroSymbol of fld "currency" 2. Use unicode. I'd use UTF-8 to avoid cross-processor endian issues. Here is the UTF-8 version of the Euro symbol (as expressed in ASCII on my Mac): "???" Save it in a custom property as before and do this: set the unicodeText of fld "currency" to uniencode(the uniEuroSymbol of fld "currency","utf8") Just set a flag for your whole app that determines which currency system you'll be using, then check the flag and set the field on each card in a preOpenCard handler. HTH, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From geradamas at yahoo.com Mon Aug 4 13:08:37 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 4 Aug 2008 10:08:37 -0700 (PDT) Subject: Who owns old icons? Message-ID: <944707.22618.qm@web37501.mail.mud.yahoo.com> Images as follows: http://www.granneman.com/images/mac_icons_1984.gif http://homepage.mac.com/chinesemac/earlymacs/ http://www.mactech.com/articles/mactech/Vol.05/05.10/DotPrinter/img003.gif http://www.geocities.jp/classiclll/images2/icon_low.gif This discussion is rapidly reaching its natural end. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From geradamas at yahoo.com Mon Aug 4 13:11:06 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Mon, 4 Aug 2008 10:11:06 -0700 (PDT) Subject: HyperCard now being sold for 26p ! Message-ID: <932416.14575.qm@web37504.mail.mud.yahoo.com> So, obviously . . . http://www.abbeyfieldsvets.co.uk/modules/shop/view.asp?catid=3&Prodcode=hyperc10 Mind you, put that in a your LCIII and it may start going "miaow"! love, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From m.schonewille at economy-x-talk.com Mon Aug 4 13:17:50 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 4 Aug 2008 19:17:50 +0200 Subject: REV Send Email via CGI and mail.php script on the fly? In-Reply-To: References: <79774829120086754811575012080816259762-Webmail2@me.com> <98881394-2712-4821-A41B-AA16FFFE3A64@sosmartsoftware.com> Message-ID: <195F3B1D-5436-45FA-8260-7D335FB07600@economy-x-talk.com> Hi Mark, It looks like you want to use Sarah's or Sean's SMTP library, to send e-mail directly from within Revolution, using your own e-mail server. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 4 aug 2008, at 18:14, Mark Smith wrote: > I'd also point out that it should also be possible to a) send the > mail directly from the student to the teacher and b) use a rev CGI > on the server without a php script. > > Best, > > Mark From lists at futilism.com Mon Aug 4 13:34:31 2008 From: lists at futilism.com (Mark Smith) Date: Mon, 4 Aug 2008 18:34:31 +0100 Subject: REV Send Email via CGI and mail.php script on the fly? In-Reply-To: <195F3B1D-5436-45FA-8260-7D335FB07600@economy-x-talk.com> References: <79774829120086754811575012080816259762-Webmail2@me.com> <98881394-2712-4821-A41B-AA16FFFE3A64@sosmartsoftware.com> <195F3B1D-5436-45FA-8260-7D335FB07600@economy-x-talk.com> Message-ID: <74DB84ED-A2C1-47C6-BA36-F9343763C383@futilism.com> Yes, the SMTP libs would do the job from within Revolution, and on the server one could also use a simple shell call to sendmail (assuming it's some kind of unix/linux). Best, Mark On 4 Aug 2008, at 18:17, Mark Schonewille wrote: > Hi Mark, > > It looks like you want to use Sarah's or Sean's SMTP library, to > send e-mail directly from within Revolution, using your own e-mail > server. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x- > talk.com/server.html for more info. > > On 4 aug 2008, at 18:14, Mark Smith wrote: > >> I'd also point out that it should also be possible to a) send the >> mail directly from the student to the teacher and b) use a rev CGI >> on the server without a php script. >> >> Best, >> >> Mark > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From ambassador at fourthworld.com Mon Aug 4 14:18:57 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Aug 2008 11:18:57 -0700 Subject: Who owns old icons? Message-ID: <48974811.3080501@fourthworld.com> Richmond Mathewson wrote: > Rick Harrison wrote: > > "Unless Apple, Inc. has put all of HyperCard into the public domain, > the HyperCard icons are still owned by Apple, Inc." > > which seems pretty clear and unequivocal. > > However, old icons are a bit like my face: > > I own my face, and were somebody to mysteriously remove it and > graft it on to another person they would have stolen it. > > However, journalists and others photograph people's faces and > publish them everywhere without so much as a backward glance; > and they cannot be said to have "stolen people's faces", or even > their likenesses. You did not create your face. In the US, your image in public places is considered pubic domain, and can be photographed by anyone without requiring consent. Photos of your face taken in private places will require your consent, or may be considered an invasion of privacy. But it's the privacy at play with faces, not copyright (at least not in the US; YMMV); you did not create your face, and copyright is generally limited to the domain of created works. > Now, were I to post the HyperCard application, or, say, a ResEdit > document containing Hypercard icons on a website and/or user group > I would have stolen the icons. > > However, were I to post (as, indeed I have done) photographs (i.e. > screenshots) of HyperCard icons; this would be similar to an > individual publishing a photograph of me s/he took. Actually, photographs of paintings are covered by the copyright of the painting being photographed. There may be exceptions for incidental use (e.g., a painting in the far background of a photograph of a gallery), but the rules for incidental use are vague and the copyright holder can elect to have them tested in court. Pixel-for-pixel copies of a work, even if saved in a different format, have been tested by the court and found to be under the protection of the copyright holder of the original work. In some cases even modest deviance from the original may still be protected, unless the defendant can demonstrate that their work was indeed original and similarity is purely coincidental. Oddly enough, fonts are a specific exclusion to this protection, having been defined by the courts as purely utilitarian and therefore unprotectable by copyright (given the artfulness required for font design I disagree with this ruling, but the courts rarely consult me when making judgments). The underlying code of vector fonts can be protected as software instructions, but the actual rendered image of the glyphs themselves are not protected (hence the knock-off industry). Screenshots which include copyrighted images may fall under "incidental use", but as I noted such usage is vaguely defined and may be tested at the copyright holder's election. > This discussion is rapidly reaching its natural end. Yes, all citations of governing law have demonstrated that distribution of pixel-perfect copies of an entire collection Apple's icons represents a violation of their copyright. If this seems unclear the best test of course is to verify this with Apple. I'm not an attorney, and I haven't seen any of the attorneys on this list offer their opinions, so while no one here can be of assistance the original copyright holder is the one who can best answer your question. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From ambassador at fourthworld.com Mon Aug 4 14:25:26 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Aug 2008 11:25:26 -0700 Subject: Getting the text content of a HTML page Message-ID: <48974996.6000503@fourthworld.com> Jim Ault wrote: > The problem with this may be that it only looks for alpha chars, > not spaces or numbers, quotes or equal signs > therefore it finds less matches depending on the html > > oops, these don't match and won't be replaced with empty -------------- > > >
>
> >
> > works on this tag ------------- > Making this bold > > put "" into newString > put "(?U)<.*> into regEx > put replaceText(myText,regEx,newString) into myText I put that into this function: function RegexMethod pHtml put "" into newString put "(?U)<.*>" into regEx return replaceText(pHtml,regEx,newString) end RegexMethod ...and then ran it on the HTML source for this page: It catches just about everything except for the mailto near the top: Presumably this is because that tag is broken onto two lines. This function takes care of that, and this far benchmarks about an order of magnitude faster: function HtmlTextMethod pHtml put the properties of the templateField into tSaveProps set the htmlText of the templateField to pHtml get the text of the templateField set the properties of the templateField to tSaveProps return it end HtmlTextMethod -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From viktoras at ekoinf.net Mon Aug 4 14:41:45 2008 From: viktoras at ekoinf.net (viktoras didziulis) Date: Mon, 04 Aug 2008 21:41:45 +0300 Subject: Getting the text content of a HTML page In-Reply-To: <48971F63.4040807@fourthworld.com> References: <48971F63.4040807@fourthworld.com> Message-ID: <48974D69.4000203@ekoinf.net> whoops sorry, I tested this with basic tags like jsajka. The next 'thing' seem to work OK (the text is in fText field): put replaceText(fld "fText","","") into fld "fText" A small explanation: /? means zero or 1 occurence of / - because tags may be either opening (without /) or closing (with /) [A-Za-z1-9 ='" & quote & "]+ - one or more occurrences of any symbol from A to Z and a to z and 1 to 9 including space, single and double quote. Sorry, I used & quote & fo double quote because I could not figure it out how to escape quotes in Revolution... Viktoras Richard Gaskin wrote: > viktoras didziulis wrote: >> one more way to do things using regular expressions: >> >> put the replaceText(myText,"","") into myText >> >> will simply replace all tags with empty string. Where myText is the >> text where replacements have to be made. is a regular >> expression matching most html tags and "" is empty replacement string. > > Always looking for potential optimizations, I was going to benchmark > that here but couldn't get it to work, even after removing "the". :( > From JimAultWins at yahoo.com Mon Aug 4 14:59:05 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Mon, 04 Aug 2008 11:59:05 -0700 Subject: Getting the text content of a HTML page In-Reply-To: <48974996.6000503@fourthworld.com> Message-ID: Richard, a couple additional notes: On 8/4/08 11:25 AM, "Richard Gaskin" wrote: > I put that into this function: > > function RegexMethod pHtml > put "" into newString > put "(?U)<.*>" into regEx > return replaceText(pHtml,regEx,newString) > end RegexMethod > > ...and then ran it on the HTML source for this page: > > > > It catches just about everything except for the mailto near the top: > > HREF="mailto:use-revolution%40lists.runrev.com?Subject=Getting%20the%20text%20 > content%20of%20a%20HTML%20page&In-Reply-To=f99b52860808031334l44f6cd1by6ed2444 > fb32560ac%40mail.gmail.com" > TITLE="Getting the text content of a HTML page"> > > Presumably this is because that tag is broken onto two lines. > Try this variation for the regEx put "(?Us)<.*>" into regEx the 's' says 'ignore end of line characters to make the match' > This function takes care of that, and this far benchmarks about an order > of magnitude faster: > > > function HtmlTextMethod pHtml > put the properties of the templateField into tSaveProps > set the htmlText of the templateField to pHtml > get the text of the templateField > set the properties of the templateField to tSaveProps > return it > end HtmlTextMethod Caution with this technique in that the Rev tags are noted in the documentation to only include a subset of tags. In today's world of XML, programmers will create their own versions. Perhaps a little catch line or two: if it contains "<" then answer "There may be an extra tag or two remaining in the text" answer "Please inspect the result to be sure" end if Of course, the killer in this exercise is when the text we want has something line "Tip: solve for x > y, then add the point to your graph" Fun, games, and work I between. Jim Ault Las Vegas From lfredricks at proactive-intl.com Mon Aug 4 15:10:41 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 4 Aug 2008 12:10:41 -0700 Subject: Who owns old icons? In-Reply-To: <48974811.3080501@fourthworld.com> References: <48974811.3080501@fourthworld.com> Message-ID: <01a501c8f665$ca86c9a0$6501a8c0@GATEWAY> > > However, were I to post (as, indeed I have done) photographs (i.e. > > screenshots) of HyperCard icons; this would be similar to > an > individual publishing a photograph of me s/he took. > > Actually, photographs of paintings are covered by the > copyright of the painting being photographed. There may be > exceptions for incidental use (e.g., a painting in the far > background of a photograph of a gallery), but the rules for > incidental use are vague and the copyright holder can elect > to have them tested in court. I believe this was settled as well because of a case with Corel trying to copyright pictures of famous paintings. > Oddly enough, fonts are a specific exclusion to this > protection, having been defined by the courts as purely > utilitarian and therefore unprotectable by copyright (given > the artfulness required for font design I disagree with this > ruling, but the courts rarely consult me when making > judgments). The underlying code of vector fonts can be > protected as software instructions, but the actual rendered > image of the glyphs themselves are not protected (hence the > knock-off industry). This can really vary, country to country - even with the Berne Convention. Apple ran into trouble years ago with Japanese fonts, because fonts in Japan, at least at the time, were covered under Japanese copyright law (font houses claiming to have had exclusive rights to the fonts for hundreds of years). Of course, creating a font with 2000 characters in it is no small task ;-) One company effectively did that for postscript fonts and it was very, very expensive to get fonts that worked at a high quality print resolution. Apple either licensed or created some very nice Japanese TrueType fonts though - not perfect by any means for digital printing at the time, but certainly good enough for word processing. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From noelf at nomigraphics.com Mon Aug 4 16:33:29 2008 From: noelf at nomigraphics.com (Noel) Date: Mon, 04 Aug 2008 14:33:29 -0600 Subject: Who owns old icons? In-Reply-To: <48974811.3080501@fourthworld.com> References: <48974811.3080501@fourthworld.com> Message-ID: <0MKp8S-1KQ6kE40qr-0005Uo@mrelay.perfora.net> I've been reading this conversation, and have to throw a few points of clarification out there. First off, Fonts and dingbats both are copyrighted by the person that created them. Typefaces on the other hand, are not covered by copyright. However the US hasn't yet made a legal decision on if a font is a typeface yet (go figure). But ask any publishing house, and they will tell you they make sure to have licenses for any typeface they use that isn't in the public domain. Next, the Corel vs Bridgeman Art Library case says that if the 2d object (such as a painting) is in the public domain due to its age, the owner of the object cannot claim copyright on its image. You can take a picture of that object, and do whatever you personally want to do with it and keep the copyright of that image. However, this law has not been tested on anything 3d (such as a statue), and doesn't apply to everywhere (US is the main application of this law) Almost last, the idea of changing the item so copyright doesn't apply. The owner of the original copyright also owns all derivative works from that copyright. So you cannot take someones icons, change them slightly, and claim they are yours now. And finally Last. Taking a "screenshot" of an icon, in no way gives you a right to distribute that property. The original icon still has copyright on it, you are not allowed to claim copyright on a "picture" or a "screenshot" of that item. Just a few things to throw out there :) - Noel At 12:18 PM 8/4/2008, you wrote: >Richmond Mathewson wrote: > > > Rick Harrison wrote: > > > > "Unless Apple, Inc. has put all of HyperCard into the public domain, > > the HyperCard icons are still owned by Apple, Inc." > > > > which seems pretty clear and unequivocal. > > > > However, old icons are a bit like my face: > > > > I own my face, and were somebody to mysteriously remove it and > > graft it on to another person they would have stolen it. > > > > However, journalists and others photograph people's faces and > > publish them everywhere without so much as a backward glance; > > and they cannot be said to have "stolen people's faces", or even > > their likenesses. > >You did not create your face. In the US, your image in public >places is considered pubic domain, and can be photographed by anyone >without requiring consent. Photos of your face taken in private >places will require your consent, or may be considered an invasion >of privacy. But it's the privacy at play with faces, not copyright >(at least not in the US; YMMV); you did not create your face, and >copyright is generally limited to the domain of created works. > > > > Now, were I to post the HyperCard application, or, say, a ResEdit > > document containing Hypercard icons on a website and/or user group > > I would have stolen the icons. > > > > However, were I to post (as, indeed I have done) photographs (i.e. > > screenshots) of HyperCard icons; this would be similar to an > > individual publishing a photograph of me s/he took. > >Actually, photographs of paintings are covered by the copyright of >the painting being photographed. There may be exceptions for >incidental use (e.g., a painting in the far background of a >photograph of a gallery), but the rules for incidental use are vague >and the copyright holder can elect to have them tested in court. > >Pixel-for-pixel copies of a work, even if saved in a different >format, have been tested by the court and found to be under the >protection of the copyright holder of the original work. In some >cases even modest deviance from the original may still be protected, >unless the defendant can demonstrate that their work was indeed >original and similarity is purely coincidental. > >Oddly enough, fonts are a specific exclusion to this protection, >having been defined by the courts as purely utilitarian and >therefore unprotectable by copyright (given the artfulness required >for font design I disagree with this ruling, but the courts rarely >consult me when making judgments). The underlying code of vector >fonts can be protected as software instructions, but the actual >rendered image of the glyphs themselves are not protected (hence the >knock-off industry). > >Screenshots which include copyrighted images may fall under >"incidental use", but as I noted such usage is vaguely defined and >may be tested at the copyright holder's election. > > > > This discussion is rapidly reaching its natural end. > >Yes, all citations of governing law have demonstrated that >distribution of pixel-perfect copies of an entire collection Apple's >icons represents a violation of their copyright. > >If this seems unclear the best test of course is to verify this with >Apple. I'm not an attorney, and I haven't seen any of the attorneys >on this list offer their opinions, so while no one here can be of >assistance the original copyright holder is the one who can best >answer your question. > >-- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > >_______________________________________________ >use-revolution mailing list >use-revolution at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-revolution From mb.userev at harbourhosting.co.uk Mon Aug 4 18:24:14 2008 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Mon, 04 Aug 2008 23:24:14 +0100 Subject: The Euro symbol In-Reply-To: References: Message-ID: <4897818E.3070003@harbourhosting.co.uk> Devin Asay wrote: > 1. The html entity for the Euro symbol is "¤" I guess you are a mac user Devin? The html entity for the euro symbol used in web pages is "€". "¤" may give you the euro symbol on a mac, IIRC mac roman replaced its currency symbol with the euro symbol some years back, but on Windows here I get the dear old currency symbol when I use "¤" and, in Revolution, "€" just displays unmodified, unfortunately. Would be nice if € worked, I can't think of any reason why it couldn't. I've used € or numtochar(128) on windows when needed. Otherwise, what you said, yeah... Martin Baxter -- I am Not a Number, I am a free NaN From andre at andregarzia.com Mon Aug 4 19:03:36 2008 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 4 Aug 2008 20:03:36 -0300 Subject: REV Send Email via CGI and mail.php script on the fly? In-Reply-To: <74DB84ED-A2C1-47C6-BA36-F9343763C383@futilism.com> References: <79774829120086754811575012080816259762-Webmail2@me.com> <98881394-2712-4821-A41B-AA16FFFE3A64@sosmartsoftware.com> <195F3B1D-5436-45FA-8260-7D335FB07600@economy-x-talk.com> <74DB84ED-A2C1-47C6-BA36-F9343763C383@futilism.com> Message-ID: <7c87a2a10808041603w221dda0bjf0b088ea7897b784@mail.gmail.com> Folks, using smtp routines from a cgi is not the best solution. If the server blocks, you end up eating server resources and many hosts will not allow your cgi to open sockets to outside servers. RevOnRockets has a library called RocketsSendmail that wraps around the sendmail common unix tool to send emails, you can simply download and use that instead of using a php file. I can assist Cheers andre On Mon, Aug 4, 2008 at 2:34 PM, Mark Smith wrote: > Yes, the SMTP libs would do the job from within Revolution, and on the > server one could also use a simple shell call to sendmail (assuming it's > some kind of unix/linux). > > Best, > > Mark > > > On 4 Aug 2008, at 18:17, Mark Schonewille wrote: > >> Hi Mark, >> >> It looks like you want to use Sarah's or Sean's SMTP library, to send >> e-mail directly from within Revolution, using your own e-mail server. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> http://economy-x-talk.com >> http://www.salery.biz >> >> Benefit from our inexpensive hosting services. See >> http://economy-x-talk.com/server.html for more info. >> >> On 4 aug 2008, at 18:14, Mark Smith wrote: >> >>> I'd also point out that it should also be possible to a) send the mail >>> directly from the student to the teacher and b) use a rev CGI on the server >>> without a php script. >>> >>> Best, >>> >>> Mark >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution 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 shari at gypsyware.com Mon Aug 4 19:11:56 2008 From: shari at gypsyware.com (Shari) Date: Mon, 4 Aug 2008 19:11:56 -0400 Subject: Speeding up get URL In-Reply-To: References: Message-ID: Search engines have API's? I did not know that. I will definitely look into this. I didn't realize I had so many different options to choose from. Options are good, very good indeed :-) Thank you! Shari >I believe most of the major search engines have APIs for returning search >results as XML. I certainly used Yahoo to to this before. > >You'd need to look at the APIs for search to see if they contain features >that would work for the kind of information you're trying to find. > >Bernard -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From shari at gypsyware.com Mon Aug 4 19:32:22 2008 From: shari at gypsyware.com (Shari) Date: Mon, 4 Aug 2008 19:32:22 -0400 Subject: Speeding up get URL In-Reply-To: <4896F25E.7060408@tweedly.net> References: <4896F25E.7060408@tweedly.net> Message-ID: Cable modem, yes. CGI, I don't know a word of the language. So even your hosting ISP can get involved? Lordy, I had no idea there were so many pitfalls. I can understand their issues however, knowing how much spam I get from people who are probably using similar searches for bad things. It's disgusting to open your mailbox and have hundreds of junk mail just to get to the few genuine ones. Opens up the whole issue, how do you allow someone who isn't using it for a bad purpose versus someone who is. Do you disallow all? Do you allow all? Or do you find some way for folks to register and "show" what they're doing with it? So yes, I do see their point and it is a valid one. I don't mind registering with Google or Yahoo if their API's do the thing. It's a lot like the whole shareware issue. Once upon a time you could put it out there and hope for honest folks to throw you a bone. The truth is that even honest folks don't give a thought to sharing software with their friends and family, they don't even think about it. So you MUST build in some incentive if you want to get paid. Whole studies have been done on this and in its weird way it's similar. The folks who would have paid anyway sometimes get offended by whatever incentives are built in to ensure you get your bones. By that token the folks using searches for "honest" purposes versus those using them for spam and so forth... never considered the possibility of being mistaken for a bad guy. Good catch on the "delete from success list" by the way. I missed that, might not be a huge difference but when the list is very long it could be. Actually, if delete were not needed I could switch to "repeat for each" which is always faster. Every little speed up helps it along :-) Shari >Are you running these from a machine behind a (relatively) slow >Internet connection, such as a DSL or cable modem ? >If so, you might get a big improvement by converting the script into >a CGI script, and running it on your own web-hosting server; that >would give you an effective bandwidth based on the ISP, rather than >on a slow DSL-like connection. (I have a vaguely similar script I >run from my site that is approx 1000x times faster than running it >from home on a 8Mbs DSL - the lower latency helps as much as the >increased bandwidth). But beware - if there are any issues with >looking like a DoS attack, or sending too many requests per second, >this might be much more likely to trigger them; you may also run >into issues with usage of CPU and/or bandwidth on your hosting-ISP. -- Dogs and bears, sports and cars, and patriots t-shirts http://www.villagetshirts.com WlND0WS and MAClNT0SH shareware games http://www.gypsyware.com From kray at sonsothunder.com Mon Aug 4 20:09:13 2008 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 04 Aug 2008 19:09:13 -0500 Subject: HyperCard now being sold for 26p ! In-Reply-To: <932416.14575.qm@web37504.mail.mud.yahoo.com> Message-ID: > http://www.abbeyfieldsvets.co.uk/modules/shop/view.asp?catid=3&Prodcode=hyperc > 10 I found a larger image of that product: http://www.bestpetpharmacy.co.uk/show_image.asp?id=67 Man... we were waiting for HyperCard 3 forever, and now there's a HyperCard 10? ;-) Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarah.reichelt at gmail.com Mon Aug 4 20:29:46 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 5 Aug 2008 10:29:46 +1000 Subject: The Euro symbol In-Reply-To: <4F495273-86AC-4E63-A6C5-D5DA65553F4B@sosmartsoftware.com> References: <4F495273-86AC-4E63-A6C5-D5DA65553F4B@sosmartsoftware.com> Message-ID: On Mon, Aug 4, 2008 at 5:52 PM, Eric Chatonet wrote: > Bonjour Sarah, > > ?, ? and $ on Win: 128, 163, 36 > ?, ? and $ on Mac: 219, 163, 36 > > Probably can you test the platform and use 128 or 219 according to it? > Money apps are a pain... > The problem will not be solved ;-) > For instance: > $10.50 (English) and 10,50 ? (French) > The best way should probably to get the current money format from the system > (International/Formats on Mac OS and... on Win) > I wonder if this kind of issue has not been treated yet on the list two > years ago. Thanks Eric and everyone else who answered. It appears there is no simple cross-platform solution :-( If only Britain would convert to the euro, then maybe our friends in Edinburgh would come up with the answer :-) Ah well, I'll just have to do it the hard way then. Cheers, Sarah From lists at futilism.com Mon Aug 4 20:53:42 2008 From: lists at futilism.com (Mark Smith) Date: Tue, 5 Aug 2008 01:53:42 +0100 Subject: The Euro symbol In-Reply-To: References: <4F495273-86AC-4E63-A6C5-D5DA65553F4B@sosmartsoftware.com> Message-ID: <790D2826-CB31-485B-99A5-67F56A7ACD9B@futilism.com> If Scotland goes for independence they might anyway... :) On 5 Aug 2008, at 01:29, Sarah Reichelt wrote: > If only Britain would convert to the euro, then maybe our friends in > Edinburgh would come up with the answer :-) From lan.kc.macmail at gmail.com Mon Aug 4 20:56:24 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 5 Aug 2008 08:56:24 +0800 Subject: HyperCard now being sold for 26p ! In-Reply-To: <932416.14575.qm@web37504.mail.mud.yahoo.com> References: <932416.14575.qm@web37504.mail.mud.yahoo.com> Message-ID: I wonder what percentage of that is licensing fees? ;-) From lists at futilism.com Mon Aug 4 21:00:55 2008 From: lists at futilism.com (Mark Smith) Date: Tue, 5 Aug 2008 02:00:55 +0100 Subject: HyperCard now being sold for 26p ! In-Reply-To: References: Message-ID: If Rev is "hypercard on steroids" then this is "hypercard on Diltiazem Hydrochloride". Not as catchy, I grant you, but much better for canine hypertrophic cardiomyopathy, which was always a weak area in the original product, imo. :) Mark On 5 Aug 2008, at 01:09, Ken Ray wrote: >> http://www.abbeyfieldsvets.co.uk/modules/shop/view.asp? >> catid=3&Prodcode=hyperc >> 10 > > I found a larger image of that product: > > http://www.bestpetpharmacy.co.uk/show_image.asp?id=67 > > Man... we were waiting for HyperCard 3 forever, and now there's a > HyperCard > 10? > > ;-) > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Tue Aug 5 05:37:53 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 19:37:53 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <00e901c8f4b3$3abae7b0$0a01010a@ANNIESPUTA> <003b01c8f542$a45e9dd0$0a01010a@ANNIESPUTA> <84999520-78F2-470E-8360-5037B7165A19@economy-x-talk.com> <005801c8f553$dd8c76c0$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA><4896BF56.6000303@ekoinf.net><008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA><00c801c8f62d$162ae410$0a01010a@ANNIESPUTA> Message-ID: <00b101c8f6de$f0929510$0a01010a@ANNIESPUTA> Wow Eric, great work! A valuable contribution to be sure :) I have found gold in the conference stacks especially! Thanks soooo much. Woohoo stop me now :-D I'm in Australia by the way (anyone else from Oz here?) I've noticed it gets busy at the time I should be Zzz-ing. I don't mind if I have to wait for an answer (or few hehe). The answers come when the asker is ready... and if the asker is asleep well she's most probably dreaming: on wakeUp put breakfast into me repeat while awake if answers have arrived then set the haveRead of emails to true answer "Thanks Heaps" go getRevving to nearest Rev stack ask "Halp Again" end if end repeat end wakeUp :D Sorry a bit sleep deprived hehe. Heather ----- Original Message ----- Thanks for the kind words: I wrote the Rev Search Engine to help all and very often it helps me too :-) I'm really sorry about using 'regex' in my last post but you guessed it: 'regular expression'. I'm sure you'll become a respected contributor shortly: you make really quick progress :-) And, as you saw it, this list is very kind and helpful. Just a tip: many of us are not in Europa then posting in the evening is sometimes a good idea to be read shortly in the US, Brazil, Hawaii and many other friends places ;-) Le 4 ao?t 08 ? 14:24, H Baric a ?crit : > Thanks Eric, > > I'm sitting here reading your message thinking "what the heck is > regex" then > it clicked! Haha, see how much I don't know yet? :-P > > Thanks VERY much Eric, I was just actually using the Rev Search > then when > your message came in! Wow, great stuff! I'm off to explore more of > the Rev > universe... :D > > Thanks again :) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Tue Aug 5 05:39:02 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 19:39:02 +1000 Subject: Sliders & Images Message-ID: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA> And so onto a new headscratcher for today: I was just wondering how to do this: I have a slider with 1 - 3 start/end. There are 3 images in a pile so only the top one is viewable at a time. When user slides slider, show an image (bring to top?) that corresponds to the slider position: The images are named blue1, blue2, blue3. What I tried only confused the heck outta Rev and I had to suspend dev to escape the stuckedness :-o on scrollbarDrag ?!!!! end scrollbarDrag TIA :) Heather From eric.chatonet at sosmartsoftware.com Tue Aug 5 05:37:02 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 11:37:02 +0200 Subject: Sliders & Images In-Reply-To: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA> References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA> Message-ID: <621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com> on scrollbarDrag pPos set the layer of img ("blue" & pPos) to top end scrollbarDrag Le 5 ao?t 08 ? 11:39, H Baric a ?crit : > And so onto a new headscratcher for today: > > I was just wondering how to do this: > > I have a slider with 1 - 3 start/end. > There are 3 images in a pile so only the top one is viewable at a > time. > > When user slides slider, show an image (bring to top?) that > corresponds to the slider position: > The images are named blue1, blue2, blue3. > > What I tried only confused the heck outta Rev and I had to suspend > dev to escape the stuckedness :-o > > on scrollbarDrag > > ?!!!! > > > end scrollbarDrag Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Tue Aug 5 06:30:54 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 5 Aug 2008 12:30:54 +0200 Subject: Sliders & Images In-Reply-To: <621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com> References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA> <621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com> Message-ID: <540EC450-A0DD-47F2-82D9-B42EA57E09A5@economy-x-talk.com> Hi Heather, A better way to do this might be to use a button with an icon. Set the icon of the button to the ID of the first image. Then use this script: on scrollbarDrag thePos set the icon of btn x to the id of img ("blue" & thePos) end scrollbarDrag -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 5 aug 2008, at 11:37, Eric Chatonet wrote: > on scrollbarDrag pPos > set the layer of img ("blue" & pPos) to top > end scrollbarDrag > > Le 5 ao?t 08 ? 11:39, H Baric a ?crit : > >> And so onto a new headscratcher for today: >> >> I was just wondering how to do this: >> >> I have a slider with 1 - 3 start/end. >> There are 3 images in a pile so only the top one is viewable at a >> time. >> >> When user slides slider, show an image (bring to top?) that >> corresponds to the slider position: >> The images are named blue1, blue2, blue3. >> >> What I tried only confused the heck outta Rev and I had to suspend >> dev to escape the stuckedness :-o >> >> on scrollbarDrag >> >> ?!!!! >> >> >> end scrollbarDrag From hbaric at gmail.com Tue Aug 5 06:45:53 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 20:45:53 +1000 Subject: Sliders & Images References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA> <621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com> Message-ID: <00e201c8f6e8$71267350$0a01010a@ANNIESPUTA> Excellent! Merci! ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 7:37 PM Subject: Re: Sliders & Images on scrollbarDrag pPos set the layer of img ("blue" & pPos) to top end scrollbarDrag Le 5 ao?t 08 ? 11:39, H Baric a ?crit : > And so onto a new headscratcher for today: > > I was just wondering how to do this: > > I have a slider with 1 - 3 start/end. > There are 3 images in a pile so only the top one is viewable at a > time. > > When user slides slider, show an image (bring to top?) that > corresponds to the slider position: > The images are named blue1, blue2, blue3. > > What I tried only confused the heck outta Rev and I had to suspend > dev to escape the stuckedness :-o > > on scrollbarDrag > > ?!!!! > > > end scrollbarDrag Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Tue Aug 5 06:48:21 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 20:48:21 +1000 Subject: Sliders & Images References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com> <540EC450-A0DD-47F2-82D9-B42EA57E09A5@economy-x-talk.com> Message-ID: <00e501c8f6e8$c9bcd360$0a01010a@ANNIESPUTA> Thanks Mark I'll try it out now, cheers! ----- Original Message ----- From: "Mark Schonewille" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 8:30 PM Subject: Re: Sliders & Images Hi Heather, A better way to do this might be to use a button with an icon. Set the icon of the button to the ID of the first image. Then use this script: on scrollbarDrag thePos set the icon of btn x to the id of img ("blue" & thePos) end scrollbarDrag -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 5 aug 2008, at 11:37, Eric Chatonet wrote: > on scrollbarDrag pPos > set the layer of img ("blue" & pPos) to top > end scrollbarDrag > > Le 5 ao?t 08 ? 11:39, H Baric a ?crit : > >> And so onto a new headscratcher for today: >> >> I was just wondering how to do this: >> >> I have a slider with 1 - 3 start/end. >> There are 3 images in a pile so only the top one is viewable at a >> time. >> >> When user slides slider, show an image (bring to top?) that >> corresponds to the slider position: >> The images are named blue1, blue2, blue3. >> >> What I tried only confused the heck outta Rev and I had to suspend >> dev to escape the stuckedness :-o >> >> on scrollbarDrag >> >> ?!!!! >> >> >> end scrollbarDrag _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Tue Aug 5 06:48:11 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 12:48:11 +0200 Subject: Sliders & Images In-Reply-To: <00e201c8f6e8$71267350$0a01010a@ANNIESPUTA> References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA> <621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com> <00e201c8f6e8$71267350$0a01010a@ANNIESPUTA> Message-ID: <70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com> Mark's idea sounds good because it does not reorganize layers but I would add a condition to not run the code if it's not needed: on scrollbarDrag thePos if the icon of btn x <> the id of img ("blue" & thePos) then set the icon of btn x to the id of img ("blue" & thePos) end if end scrollbarDrag Le 5 ao?t 08 ? 12:45, H Baric a ?crit : > Excellent! Merci! > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 7:37 PM > Subject: Re: Sliders & Images > > > on scrollbarDrag pPos > set the layer of img ("blue" & pPos) to top > end scrollbarDrag Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From iangmcknight at googlemail.com Tue Aug 5 07:08:23 2008 From: iangmcknight at googlemail.com (Ian McKnight) Date: Tue, 5 Aug 2008 12:08:23 +0100 Subject: Toggle standard button hilite through a field Message-ID: Hi I'm sure there's something simple that I'm missing here but I would appreciate any help offered. I have a field sitting on top of a button. When I click the field I want the button to respond as if it itself were clicked. The field / button combination are part of a group which is placed on a number of cards. The idea is that each card will have buttons in the same position but with different labels. The autohilite of the button is off, although it doesn't seem to make a difference. The locktext of the field is true. I have the following script in the field script ----- on mousedown toggleBtnHilite True end mousedown on mouseUp toggleBtnHilite False end mouseUp on mouseLeave mouseUp end mouseLeave command toggleBtnHilite pBol set the hilite of btn "button" to pBol end toggleBtnHilite ---- This works as expected when I choose a button style of rectangle, shadow, round rectangle ie the button hilite flashes on and then off. However when using the standard style, any button label (name) 'moves' but the button itself does not hilite so when I don't show the name of the button (my preferred setting as the field will contain any text) nothing appears to happen. BTW when I click the standard button directly the hilite toggles as expected. I'm using Rev Studio 2.9 in Win XP. -- Regards Ian ======================= Ian McKnight iangmcknight at googlemail.com ======================= From hbaric at gmail.com Tue Aug 5 07:22:53 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 21:22:53 +1000 Subject: Sliders & Images References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA> <70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com> Message-ID: <00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA> "not run the code if it's not needed" Sorry Eric can you please explain why or when it wouldn't be? Thanks! Cheers, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 8:48 PM Subject: Re: Sliders & Images Mark's idea sounds good because it does not reorganize layers but I would add a condition to not run the code if it's not needed: on scrollbarDrag thePos if the icon of btn x <> the id of img ("blue" & thePos) then set the icon of btn x to the id of img ("blue" & thePos) end if end scrollbarDrag Le 5 ao?t 08 ? 12:45, H Baric a ?crit : > Excellent! Merci! > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 7:37 PM > Subject: Re: Sliders & Images > > > on scrollbarDrag pPos > set the layer of img ("blue" & pPos) to top > end scrollbarDrag Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From david at openpartnership.net Tue Aug 5 07:18:30 2008 From: david at openpartnership.net (David Bovill) Date: Tue, 5 Aug 2008 12:18:30 +0100 Subject: Arrays, recursion and crashes? Message-ID: Rev rarely crashes nowadays - but I've got it crashing regularly now :) It seems to be in the same area that has caused me problems before so i thuoght I would see if others have any similar experiences. The context: I have an array which is used to store a "graph" = a linked series of nodes. Each node is actually a key in the array, and the name of the key is the name of a rev control. The elements of the array are other named controls with may in turn link to other nodes in the array (named controls) producing a graph. The recursive script walks the graph to delete a node and anything that node links to that is not linked by other nodes - that is it chops off any hanging branches. This is the general purpose array handler to do this - the one that crashes: on linkArray_DeleteNode @someArray, someKey, @alreadyDeleted > -- was "array_DeleteLinks" > -- Treats an array as a place to store graphs. > -- a recusive command > > -- do a recursion safety check to avoid infinite loops > if someKey is among the lines of alreadyDeleted then return false > put someKey & CR after alreadyDeleted > > -- delete the node someKey > put someArray [someKey] into childKeys > delete local someArray [someKey] > if childKeys is empty then return false > > -- delete any links to the deleted node from other nodes > repeat for each key testKey in someArray > array_DeleteFromIndex someKey, testKey, someArray > end repeat > > -- delete any child nodes of the deleted node (chop the branch off) > -- even if there are links from it > -- but not if other nodes link to it > put array_Reverse(someArray) into reversedArray > > repeat for each line childKey in childKeys > -- lets work out what other nodes link TO the child > put reversedArray [childKey] into otherLinkingNodes > -- apart from someKey > line_Delete someKey, otherLinkingNodes > > if otherLinkingNodes is empty then > -- recursively delete node > linkArray_DeleteNode someArray, childKey, alreadyDeleted > end if > end repeat > return true > end linkArray_DeleteNode Its hard to track down bugs that cause crashes and I can't post a stack as the example uses a lot of libraries. Any thoughts? From eric.chatonet at sosmartsoftware.com Tue Aug 5 07:49:03 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 13:49:03 +0200 Subject: Sliders & Images In-Reply-To: <00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA> References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA> <70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com> <00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA> Message-ID: <76411049-45CD-4309-86F9-05C839D500F8@sosmartsoftware.com> Add a 'beep' in your scrollbarDrag handler and you will hear continuous beeps even if the thumb position does not actually change: So adding a condition to check if the image has to change is a good idea because without it you'll change the image continuously even if it's not needed: This means CPU use, screen refresh, etc. even if you don't notice anything. Just good practice :-) Le 5 ao?t 08 ? 13:22, H Baric a ?crit : > "not run the code if it's not needed" > > Sorry Eric can you please explain why or when it wouldn't be? > > Thanks! > > Cheers, > Heather > > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 8:48 PM > Subject: Re: Sliders & Images > > > Mark's idea sounds good because it does not reorganize layers but I > would add a condition to not run the code if it's not needed: > > on scrollbarDrag thePos > if the icon of btn x <> the id of img ("blue" & thePos) then > set the icon of btn x to the id of img ("blue" & thePos) > end if > end scrollbarDrag > > Le 5 ao?t 08 ? 12:45, H Baric a ?crit : > >> Excellent! Merci! >> >> ----- Original Message ----- >> From: "Eric Chatonet" >> To: "How to use Revolution" >> Sent: Tuesday, August 05, 2008 7:37 PM >> Subject: Re: Sliders & Images >> >> >> on scrollbarDrag pPos >> set the layer of img ("blue" & pPos) to top >> end scrollbarDrag > > > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From hbaric at gmail.com Tue Aug 5 08:18:02 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 22:18:02 +1000 Subject: Sliders & Images References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA><70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com><00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA> <76411049-45CD-4309-86F9-05C839D500F8@sosmartsoftware.com> Message-ID: <010801c8f6f5$510917f0$0a01010a@ANNIESPUTA> Thanks for making that clear Eric. Well I just added beep, and I get just ONE beep. Then it's done. Maybe my system is as lazy and tired as me :-D Cheers, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 9:49 PM Subject: Re: Sliders & Images Add a 'beep' in your scrollbarDrag handler and you will hear continuous beeps even if the thumb position does not actually change: So adding a condition to check if the image has to change is a good idea because without it you'll change the image continuously even if it's not needed: This means CPU use, screen refresh, etc. even if you don't notice anything. Just good practice :-) Le 5 ao?t 08 ? 13:22, H Baric a ?crit : > "not run the code if it's not needed" > > Sorry Eric can you please explain why or when it wouldn't be? > > Thanks! > > Cheers, > Heather > > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 8:48 PM > Subject: Re: Sliders & Images > > > Mark's idea sounds good because it does not reorganize layers but I > would add a condition to not run the code if it's not needed: > > on scrollbarDrag thePos > if the icon of btn x <> the id of img ("blue" & thePos) then > set the icon of btn x to the id of img ("blue" & thePos) > end if > end scrollbarDrag > > Le 5 ao?t 08 ? 12:45, H Baric a ?crit : > >> Excellent! Merci! >> >> ----- Original Message ----- >> From: "Eric Chatonet" >> To: "How to use Revolution" >> Sent: Tuesday, August 05, 2008 7:37 PM >> Subject: Re: Sliders & Images >> >> >> on scrollbarDrag pPos >> set the layer of img ("blue" & pPos) to top >> end scrollbarDrag > > > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Tue Aug 5 08:18:00 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 14:18:00 +0200 Subject: Sliders & Images In-Reply-To: <010801c8f6f5$510917f0$0a01010a@ANNIESPUTA> References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA><70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com><00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA> <76411049-45CD-4309-86F9-05C839D500F8@sosmartsoftware.com> <010801c8f6f5$510917f0$0a01010a@ANNIESPUTA> Message-ID: <9D1D3EF8-C6A8-41E4-8E74-232025ED8D89@sosmartsoftware.com> Sorry I was not clear enough: Add a 'beep' in your scrollbarDrag handler and you will hear continuous beeps when dragging scrollbar's thumb even if the reported thumb position in the scrollbarDrag handler does not actually change. Le 5 ao?t 08 ? 14:18, H Baric a ?crit : > Thanks for making that clear Eric. > > Well I just added beep, and I get just ONE beep. Then it's done. > > Maybe my system is as lazy and tired as me :-D > > Cheers, > Heather > > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 9:49 PM > Subject: Re: Sliders & Images > > > Add a 'beep' in your scrollbarDrag handler and you will hear > continuous beeps even if the thumb position does not actually change: > So adding a condition to check if the image has to change is a good > idea because without it you'll change the image continuously even if > it's not needed: > This means CPU use, screen refresh, etc. even if you don't notice > anything. > Just good practice :-) > > Le 5 ao?t 08 ? 13:22, H Baric a ?crit : > >> "not run the code if it's not needed" >> >> Sorry Eric can you please explain why or when it wouldn't be? >> >> Thanks! >> >> Cheers, >> Heather >> >> >> ----- Original Message ----- >> From: "Eric Chatonet" >> To: "How to use Revolution" >> Sent: Tuesday, August 05, 2008 8:48 PM >> Subject: Re: Sliders & Images >> >> >> Mark's idea sounds good because it does not reorganize layers but I >> would add a condition to not run the code if it's not needed: >> >> on scrollbarDrag thePos >> if the icon of btn x <> the id of img ("blue" & thePos) then >> set the icon of btn x to the id of img ("blue" & thePos) >> end if >> end scrollbarDrag >> >> Le 5 ao?t 08 ? 12:45, H Baric a ?crit : >> >>> Excellent! Merci! >>> >>> ----- Original Message ----- >>> From: "Eric Chatonet" >>> To: "How to use Revolution" >>> Sent: Tuesday, August 05, 2008 7:37 PM >>> Subject: Re: Sliders & Images >>> >>> >>> on scrollbarDrag pPos >>> set the layer of img ("blue" & pPos) to top >>> end scrollbarDrag Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From hbaric at gmail.com Tue Aug 5 08:23:24 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 22:23:24 +1000 Subject: Sliders & Images References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA><70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com><00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA> <76411049-45CD-4309-86F9-05C839D500F8@sosmartsoftware.com> Message-ID: <010d01c8f6f6$109950d0$0a01010a@ANNIESPUTA> Forgot to say, I will remember use such conditions regardless, as you say "good practice" especially as things differ from sytem to system etc. So TY :) Cheers, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 9:49 PM Subject: Re: Sliders & Images Add a 'beep' in your scrollbarDrag handler and you will hear continuous beeps even if the thumb position does not actually change: So adding a condition to check if the image has to change is a good idea because without it you'll change the image continuously even if it's not needed: This means CPU use, screen refresh, etc. even if you don't notice anything. Just good practice :-) Le 5 ao?t 08 ? 13:22, H Baric a ?crit : > "not run the code if it's not needed" > > Sorry Eric can you please explain why or when it wouldn't be? > > Thanks! > > Cheers, > Heather > > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 8:48 PM > Subject: Re: Sliders & Images > > > Mark's idea sounds good because it does not reorganize layers but I > would add a condition to not run the code if it's not needed: > > on scrollbarDrag thePos > if the icon of btn x <> the id of img ("blue" & thePos) then > set the icon of btn x to the id of img ("blue" & thePos) > end if > end scrollbarDrag > > Le 5 ao?t 08 ? 12:45, H Baric a ?crit : > >> Excellent! Merci! >> >> ----- Original Message ----- >> From: "Eric Chatonet" >> To: "How to use Revolution" >> Sent: Tuesday, August 05, 2008 7:37 PM >> Subject: Re: Sliders & Images >> >> >> on scrollbarDrag pPos >> set the layer of img ("blue" & pPos) to top >> end scrollbarDrag > > > > Best regards from Paris, > Eric Chatonet. > ---------------------------------------------------------------- > Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ > Email: eric.chatonet at sosmartsoftware.com/ > ---------------------------------------------------------------- > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Tue Aug 5 08:49:20 2008 From: hbaric at gmail.com (H Baric) Date: Tue, 5 Aug 2008 22:49:20 +1000 Subject: Sliders & Images References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA><70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com><00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA><76411049-45CD-4309-86F9-05C839D500F8@sosmartsoftware.com><010801c8f6f5$510917f0$0a01010a@ANNIESPUTA> <9D1D3EF8-C6A8-41E4-8E74-232025ED8D89@sosmartsoftware.com> Message-ID: <011701c8f6f9$b00e83d0$0a01010a@ANNIESPUTA> That's what I did Eric, well I'm pretty sure I did! (on scrollbarDrag thePos ; set the icon of btn "bgImage" to the id of img ("blue" & thePos) ; beep) Though I just tried again, and my beeps aren't oh wait there it goes HAHA. Only about 20 seconds after I moved the slider hahahaha I reallly need a new computer maybe? * Actually my "beep x" doesn't work either most of the time. I generally never get the same number I state. :( My PC *is* a bit of a dino now I guess. Cheers, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 10:18 PM Subject: Re: Sliders & Images Sorry I was not clear enough: Add a 'beep' in your scrollbarDrag handler and you will hear continuous beeps when dragging scrollbar's thumb even if the reported thumb position in the scrollbarDrag handler does not actually change. Le 5 ao?t 08 ? 14:18, H Baric a ?crit : > Thanks for making that clear Eric. > > Well I just added beep, and I get just ONE beep. Then it's done. > > Maybe my system is as lazy and tired as me :-D > > Cheers, > Heather > > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 9:49 PM > Subject: Re: Sliders & Images > > > Add a 'beep' in your scrollbarDrag handler and you will hear > continuous beeps even if the thumb position does not actually change: > So adding a condition to check if the image has to change is a good > idea because without it you'll change the image continuously even if > it's not needed: > This means CPU use, screen refresh, etc. even if you don't notice > anything. > Just good practice :-) > > Le 5 ao?t 08 ? 13:22, H Baric a ?crit : > >> "not run the code if it's not needed" >> >> Sorry Eric can you please explain why or when it wouldn't be? >> >> Thanks! >> >> Cheers, >> Heather >> >> >> ----- Original Message ----- >> From: "Eric Chatonet" >> To: "How to use Revolution" >> Sent: Tuesday, August 05, 2008 8:48 PM >> Subject: Re: Sliders & Images >> >> >> Mark's idea sounds good because it does not reorganize layers but I >> would add a condition to not run the code if it's not needed: >> >> on scrollbarDrag thePos >> if the icon of btn x <> the id of img ("blue" & thePos) then >> set the icon of btn x to the id of img ("blue" & thePos) >> end if >> end scrollbarDrag >> >> Le 5 ao?t 08 ? 12:45, H Baric a ?crit : >> >>> Excellent! Merci! >>> >>> ----- Original Message ----- >>> From: "Eric Chatonet" >>> To: "How to use Revolution" >>> Sent: Tuesday, August 05, 2008 7:37 PM >>> Subject: Re: Sliders & Images >>> >>> >>> on scrollbarDrag pPos >>> set the layer of img ("blue" & pPos) to top >>> end scrollbarDrag Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From noreply at scour.com Tue Aug 5 08:47:39 2008 From: noreply at scour.com (Md. Musfiqur Rahman) Date: Tue, 5 Aug 2008 05:47:39 -0700 Subject: Scour.com invite from Md. Musfiqur Rahman Message-ID: <48984beb6702b@scour.com> Hey, Did you hear about Scour? It is the next gen search engine with Google/Yahoo/MSN results and user comments all on one page. Best of all we get paid for using it by earning points with every search, comment and vote. The points are redeemable for Visa gift cards! It's like earning credit card or airline points just for searching! Hit the link below to join for free and we will both get points! http://scour.com/invite/rahmankuet/ I know you'll like it! - Md. Musfiqur Rahman From eric.chatonet at sosmartsoftware.com Tue Aug 5 09:00:18 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 15:00:18 +0200 Subject: Sliders & Images In-Reply-To: <011701c8f6f9$b00e83d0$0a01010a@ANNIESPUTA> References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA><70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com><00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA><76411049-45CD-4309-86F9-05C839D500F8@sosmartsoftware.com><010801c8f6f5$510917f0$0a01010a@ANNIESPUTA> <9D1D3EF8-C6A8-41E4-8E74-232025ED8D89@sosmartsoftware.com> <011701c8f6f9$b00e83d0$0a01010a@ANNIESPUTA> Message-ID: <437A7448-FFC3-40A6-82CC-FE78C24D5DCD@sosmartsoftware.com> Here is the explanation: The scrollBarDrag message is sent by the engine every time that the 'real' thumb position has changed by one pixel. So this message may fire several times in some milliseconds if you move the thumb quickly. On the other hand, 'beep' sound is longer than that. Then if a new beep is required when the previous one is not finished to be played, it's queued and executed when the previous is finished. With all beeps you have heard, it's easy to understand now why a condition might be welcome. :-) Le 5 ao?t 08 ? 14:49, H Baric a ?crit : > That's what I did Eric, well I'm pretty sure I did! (on > scrollbarDrag thePos > ; set the icon of btn "bgImage" to the id of img ("blue" & > thePos) ; beep) > > Though I just tried again, and my beeps aren't oh wait there it > goes HAHA. > Only about 20 seconds after I moved the slider hahahaha > > I reallly need a new computer maybe? > > * Actually my "beep x" doesn't work either most of the time. I > generally > never get the same number I state. :( > > My PC *is* a bit of a dino now I guess. > > Cheers, > Heather > > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 10:18 PM > Subject: Re: Sliders & Images > > > Sorry I was not clear enough: > Add a 'beep' in your scrollbarDrag handler and you will hear > continuous beeps when dragging scrollbar's thumb even if the reported > thumb position in the scrollbarDrag handler does not actually change. > > Le 5 ao?t 08 ? 14:18, H Baric a ?crit : > >> Thanks for making that clear Eric. >> >> Well I just added beep, and I get just ONE beep. Then it's done. >> >> Maybe my system is as lazy and tired as me :-D >> >> Cheers, >> Heather >> >> >> ----- Original Message ----- >> From: "Eric Chatonet" >> To: "How to use Revolution" >> Sent: Tuesday, August 05, 2008 9:49 PM >> Subject: Re: Sliders & Images >> >> >> Add a 'beep' in your scrollbarDrag handler and you will hear >> continuous beeps even if the thumb position does not actually change: >> So adding a condition to check if the image has to change is a good >> idea because without it you'll change the image continuously even if >> it's not needed: >> This means CPU use, screen refresh, etc. even if you don't notice >> anything. >> Just good practice :-) >> >> Le 5 ao?t 08 ? 13:22, H Baric a ?crit : >> >>> "not run the code if it's not needed" >>> >>> Sorry Eric can you please explain why or when it wouldn't be? >>> >>> Thanks! >>> >>> Cheers, >>> Heather >>> >>> >>> ----- Original Message ----- >>> From: "Eric Chatonet" >>> To: "How to use Revolution" >>> Sent: Tuesday, August 05, 2008 8:48 PM >>> Subject: Re: Sliders & Images >>> >>> >>> Mark's idea sounds good because it does not reorganize layers but I >>> would add a condition to not run the code if it's not needed: >>> >>> on scrollbarDrag thePos >>> if the icon of btn x <> the id of img ("blue" & thePos) then >>> set the icon of btn x to the id of img ("blue" & thePos) >>> end if >>> end scrollbarDrag >>> >>> Le 5 ao?t 08 ? 12:45, H Baric a ?crit : >>> >>>> Excellent! Merci! >>>> >>>> ----- Original Message ----- >>>> From: "Eric Chatonet" >>>> To: "How to use Revolution" >>>> Sent: Tuesday, August 05, 2008 7:37 PM >>>> Subject: Re: Sliders & Images >>>> >>>> >>>> on scrollbarDrag pPos >>>> set the layer of img ("blue" & pPos) to top >>>> end scrollbarDrag > > > Best regards from Paris, > Eric Chatonet. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From iowahengst at mac.com Tue Aug 5 09:25:09 2008 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 05 Aug 2008 06:25:09 -0700 Subject: Sliders & Images Message-ID: <135034619121997738846112065757739318820-Webmail2@me.com> Hi Heather, I just woke up and saw this thread and it looks like you've received plenty of good advice already. I'm a relative rookie at all this, but thought I'd share an example that might give you some ideas. I used a slider in program to help students practice telling time -- the slider is used to select the game. The slider values were set from 1 to 4. The movement of the slider changed the label of a button that denoted the game to be selected. Then on the mouseUp the game settings were put into place. take care, randy hengst on scrollbarDrag newValue switch newValue case "1" set the label of button "Show and Say Answer" to "Show and Say Answer" break case "2" set the label of button "Show and Say Answer" to "Multiple Choice Game" break case "3" set the label of button "Show and Say Answer" to "Matching New Time" break case "4" set the label of button "Show and Say Answer" to "Add Subtract New Time" break end switch end scrollbarDrag on mouseUp switch the thumbposition of me case "1" set the label of button "Show and Say Answer" to "Show and Say Answer" lock screen -- hide and show stuff here unlock screen break case "2" set the label of button "Show and Say Answer" to "Multiple Choice Game" lock screen -- hide and show stuff here unlock screen break case "3" set the label of button "Show and Say Answer" to "Matching New Time" lock screen -- hide and show stuff here unlock screen break case "4" set the label of button "Show and Say Answer" to "Add Subtract New Time" lock screen -- hide and show stuff here unlock screen break end switch end mouseUp on mouseRelease mouseUp end mouseRelease From geradamas at yahoo.com Tue Aug 5 09:28:04 2008 From: geradamas at yahoo.com (Richmond Mathewson) Date: Tue, 5 Aug 2008 06:28:04 -0700 (PDT) Subject: [OT] Scour: a disease that kills cattle. Message-ID: <199756.89754.qm@web37505.mail.mud.yahoo.com> I don't know who Md. Musfiqur Rahman is, but: http://forums.digitalpoint.com/showthread.php?t=955786 Certainly I would not trust a web-search facility that is named after a nasty disease that kills cattle: http://homepage.eircom.net/~progers/scourall.htm Liver Flukes are not very good for humans either. sincerely, Richmond Mathewson. ____________________________________________________________ A Thorn in the flesh is better than a failed Systems Development Life Cycle. ____________________________________________________________ __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html From kkaufman at snet.net Tue Aug 5 09:39:06 2008 From: kkaufman at snet.net (Kurt Kaufman) Date: Tue, 5 Aug 2008 09:39:06 -0400 Subject: Database Query Builder Message-ID: "...To start, I'll read the manual, do the tutorials, etc. before I ask additional questions." My printed user manual arrived, and the information I needed is right there at sections 8.5.1 and 8.5.2. I don't know how I missed the first sentence at 8.5.1! Maybe there's something special about reflected light... From eric.chatonet at sosmartsoftware.com Tue Aug 5 09:42:44 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 15:42:44 +0200 Subject: Sliders & Images In-Reply-To: <135034619121997738846112065757739318820-Webmail2@me.com> References: <135034619121997738846112065757739318820-Webmail2@me.com> Message-ID: <0A62A711-1A1F-4A1C-8ADD-D35B3FDA5798@sosmartsoftware.com> Bonjour Randy, I could not resist... You could save your time using a more modular code :-) on scrollbarDrag pValue SetValue pValue -- end scrollbarDrag ------------------------- on SetValue pValue set the label of button "Show and Say Answer" to item pValue of "Show and Say Answer,Multiple Choice Game,Matching New Time,Add Subtract New Time" end SetValue ------------------------- on mouseUp do "InitGame" & the thumbposition of me end mouseUp ------------------------- on InitGame1 -- hide and show stuff here end InitGame1 ------------------------- on InitGame2 etc. In addition, mouseRelease generally means that the user does not want the action to occur then you might want to suppress it... Hope it will give you some ideas ;-) Le 5 ao?t 08 ? 15:25, Randy Hengst a ?crit : > Hi Heather, > > I just woke up and saw this thread and it looks like you've > received plenty of good advice already. I'm a relative rookie at > all this, but thought I'd share an example that might give you some > ideas. > > I used a slider in program to help students practice telling time > -- the slider is used to select the game. The slider values were > set from 1 to 4. The movement of the slider changed the label of a > button that denoted the game to be selected. Then on the mouseUp > the game settings were put into place. > > take care, > randy hengst > > on scrollbarDrag newValue > switch newValue > case "1" > set the label of button "Show and Say Answer" to "Show and Say > Answer" > break > case "2" > set the label of button "Show and Say Answer" to "Multiple > Choice Game" > break > case "3" > set the label of button "Show and Say Answer" to "Matching New > Time" > break > case "4" > set the label of button "Show and Say Answer" to "Add Subtract > New Time" > break > end switch > end scrollbarDrag > > on mouseUp > switch the thumbposition of me > case "1" > set the label of button "Show and Say Answer" to "Show and Say > Answer" > lock screen > -- hide and show stuff here > unlock screen > break > case "2" > set the label of button "Show and Say Answer" to "Multiple > Choice Game" > lock screen > -- hide and show stuff here > unlock screen > break > case "3" > set the label of button "Show and Say Answer" to "Matching New > Time" > lock screen > -- hide and show stuff here > unlock screen > break > case "4" > set the label of button "Show and Say Answer" to "Add Subtract > New Time" > lock screen > -- hide and show stuff here > unlock screen > break > end switch > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From sc at sahores-conseil.com Fri Aug 1 10:23:22 2008 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 1 Aug 2008 16:23:22 +0200 Subject: 3.0.0-dp-8 available In-Reply-To: <4889FAC2.20900@runrev.com> References: <4889FAC2.20900@runrev.com> Message-ID: Dear Rev Team ! Just a quick note to let you know how happy and lucky i feel :-) I went able to test extensivelly and successfully Bernard DP-8 in running a complex AI Business Intelligence app i'm developping at this time. All the tested platforms (see below) gived the same very good results (stability, speed, script editor/debugger,...) and i don't think i will go back to Rev 2.9.0 anymore. Results of tests in native mode : - Mac OS X Leopard 10.5.4 (client and server app components native devlopment platform) : App runs 100% OK - Win XP Pro SP2 (native client component deployment platform) : App runs 100% OK Results of tests as Sun's VirtualBox 1.6.2 virtual machines : - Win XP Pro SP2 (native client component deployment platform) : App runs 100% OK - Debian Etch x86 (native server component prefered deployment platform) : App runs 100% OK - Ubuntu 8.04 x86 (native server component possible deployment platform) : App runs 100% OK - openSuse 11 x86 (native server component possible deployment platform) : App runs 100% OK Thanks so much for being providing us such new professional-grade quality standards. Kind Regards to you all, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 25 juil. 08 ? 18:09, Oliver Kenyon a ?crit : > Hi all, > > I'm pleased to announce that 3.0.0-dp-8 is available via Check For > Updates on Windows and Mac OS X. > > This build contains a number of bug fixes to both the engine and IDE, > and the first version of a new variable watcher, which supports > multi-dimensional arrays. > > The bug fixes include regressions of recent developer previews and > also > some older bugs. Please see the IDE and engine change logs for more > information. > > As well as allowing multi-dimensional arrays to be viewed, the new > variable watcher can change variable values while debugging and view > them in more detail in a separate window. We think that it also uses > screen space more efficiently. > > For those of you wishing to install on Linux, or to do a full install > the necessary downloads are here: > > > > > > > > > Warmest Regards, > Oliver > > _______________________________________________ > improve-revolution mailing list > improve-revolution at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/improve-revolution From mark.rauterkus at gmail.com Sun Aug 3 13:42:54 2008 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Sun, 3 Aug 2008 13:42:54 -0400 Subject: Trip to Beijing -- Olympics -- anyone else? Message-ID: <322253fe0808031042p2c24d85cpc217527e89c92b6f@mail.gmail.com> Hi, Any RunRev users in Beijing? I'm going to the Olympic Games as a spectator -- and we will be in China for the month. Anyone want to get together there? Send me an email directly: mark at rauterkus.com. We have an apartment in BJ's 'silicone valley.' -- Ta. Mark Rauterkus Mark at Rauterkus.com http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.Org 412 298 3432 = cell From yennieb at gmail.com Sun Aug 3 22:44:17 2008 From: yennieb at gmail.com (Brian Yennie) Date: Sun, 3 Aug 2008 19:44:17 -0700 Subject: Speeding up get URL In-Reply-To: References: Message-ID: <0F03F3BF-95B9-451C-8182-42FAAE6512D2@qldlearning.com> Shari, I'm not sure there is much you can do to speed up the fetching of URLs, but my two suggestions would be: 1) See if you can process more than one download at a time - this will be more complex to code, but may be a bit faster so that 1 slow download doesn't affect another. Of course it will still scale just as poorly. 2) Assuming there isn't much you can do to download the pages faster, perhaps you could look into having the script run on a schedule at odd hours when you are not in front of the computer. For example, if it ran incrementally downloading pages for an hour every night at 2AM you might not notice all of the time going in to it. Hope that helps a little. > I'd do that in a heartbeat if they had a way. They used to, but at > this time the only offering they have is for affiliates, and it has > severe limitations. I just got done checking it out and it isn't > designed for what I need. I might be able to "fudge" it and I will > give fudging a try. But if the fudge fails I'm back to the way that > works. Though based on some math calcs the fudge could work out > faster... worth a look. > > What's frustrating is that there is a way and a whole bunch of > shopkeepers have access to that way, but newer shopkeepers do not > have access. > > Shari > > >> One suggestion is to send an email to the support group for the >> "one domain" >> and ask if there is a better way to get the info you want. You >> would have >> to say you are willing to register and play by their rules, but >> this could >> get all the data you want in 20-30 minutes. They might even allow >> you to >> download one file from their FTP site. >> >> If you are in the business of making more money for them, they will >> likely >> help you. They may already have such a service. >> >> Jim Ault >> Las Vegas > > > -- > Dogs and bears, sports and cars, and patriots t-shirts > http://www.villagetshirts.com > WlND0WS and MAClNT0SH shareware games > http://www.gypsyware.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From alex.tweedly at gmail.com Mon Aug 4 08:00:28 2008 From: alex.tweedly at gmail.com (Alex Tweedly) Date: Mon, 04 Aug 2008 13:00:28 +0100 Subject: Speeding up get URL In-Reply-To: References: Message-ID: <4896EF5C.2000808@gmail.com> Sarah Reichelt wrote: > On Mon, Aug 4, 2008 at 12:35 AM, Shari wrote: > >> Goal: Get a long list of website URLS, parse a bunch of data from each >> page, if successful delete the URL from the list, if not put the URL on a >> different list. I've got it working but it's slow. It takes about an hour >> per 10,000 urls. I sell tshirts. Am using this to create informational >> files for myself which will be frequently updated. I'll probably be running >> this a couple times a month and expect my product line to just keep on >> growing. I'm currently at about 40,000 products but look forward to the day >> of hundreds of thousands :-) So speed is my need... (Yes, if you're >> interested my store is in the signature, opened it last December :-) >> >> How do I speed this up? >> > > Shari, I think the delay will be due to the connection to the server, > not your script, so there may not be a lot you can do about it. > > I did have one idea: can you try getting more than one URL at the same > time? If you build a list of the URLs to check, then have a script > that grabs the first one on the list, and sends a non-blocking request > to that site, with a message to call when the data has all arrived. > While waiting, start loading the next site and so on. Bookmark > checking software seems to work like this. > > You should be able to achieve that using 'load URL' - set off a number of 'load's going and then by checking the URLstatus you can process them as they have finished arriving to your machine; and as the number of outstanding requested URLs decreases, set off the next batch of 'load's. But the likelihood is that this would only make a small difference - the majority of the time is probably due to either the server response times and/or the delay in simply downloading all those bytes to your machine. Out of interest I'd be inclined to count the number of bytes transferred per URL and see if that is a significant percentage of your connection capacity. Are you running these from a machine behind a (relatively) slow Internet connection, such as a DSL or cable modem ? If so, you might get a big improvement by converting the script into a CGI script, and running it on your own web-hosting server; that would give you an effective bandwidth based on the ISP, rather than on a slow DSL-like connection. (I have a vaguely similar script I run from my site that is approx 1000x times faster than running it from home on a 8Mbs DSL - the lower latency helps as much as the increased bandwidth). But beware - if there are any issues with looking like a DoS attack, or sending too many requests per second, this might be much more likely to trigger them; you may also run into issues with usage of CPU and/or bandwidth on your hosting-ISP. > Would opening a socket and reading from the socket be any faster? I > don't imagine that it would be, but it might be worth checking. > > The other option is just to adjust things so it is not intrusive e.g. > have it download the sites overnight and save them all for processing > when you are ready, or have a background app that does the downloading > slowly (so it doesn't overload your system). > On that same idea, but taking it further (maybe too far) - how absolutely up-to-date does the info need to be when you run the script ? Could you process a few thousand URLs per night, caching either the URLs as files locally, or caching the extracted data from them. Then when you want to run your script, you use all the cached data - so some of it is right up to date, while other parts may be up to a few days old. You may also know, or be able to find out, which of the URLs tend to change frequently, and therefore bias the background processing accordingly. And, finally, a couple of trivial issues ..... > > # toDoList needs to have the successful URLs deleted, and failed URLs > moved to a different list > # that's why p down to 1, for the delete > # URLS are standard http://www.somewhere.com/somePage > > repeat with p = the number of lines of toDoList down to 1 > put url (line p of toDoList) into tUrl > # don't want to use *it* because there's a long script that follows > # *it* is too easily changed, though I've heard *it* is faster > than *put* > # do the stuff > if doTheStuffWorked then > delete line p of toDoList > else put p & return after failedList > updateProgressBar # another slowdown but necessary, gives a > count of how many left to do > end repeat I don't fully understand this (??). What you describe is doing BOTH delete the successful ones, and ALSO save the failed ones - so at the end, toDoList should finish up the same as failedList. But what your pseudo-code actually does is save the indexes of the failed URLs - which become invalid once you delete lower numbered lines; I think you intended to do else put (line p of toDoList) after failedList If you are saving the failedList, then there is no need to modify the toDoList - so I'd simply change the loop to be repeat for each line tURLName of toDoList put url tURLName into tURL ..... else put tURLName after failedList etc. Of course, this isn't going to make any noticeable difference to the processing speed, but I think it's worth changing just to make it cleaner and easier to understand / maintain. Similarly, the updating of the progress bar is unlikely to be significant compared to downloading the URLs, but you could do something to minimize it - either update it only every second (or every few seconds), or every 100 (1000?) URLs processed, etc. I personally really, really like to see the estimated time left as well as the number left to do - even a not very good estimate is better than my mental arithmetic :-) -- Alex. From david at openpartnership.net Tue Aug 5 10:10:18 2008 From: david at openpartnership.net (David Bovill) Date: Tue, 5 Aug 2008 15:10:18 +0100 Subject: Arrays, recursion and crashes? In-Reply-To: References: Message-ID: Still hammering away at this bug. It seems something to do with introducing bad data when deleting an array key. I use the syntax: delete local someArray [someKey] > When I delete a particular key I see strange chars - probably from binary data in the field displaying the result. I looks like furrther processing of the array in this state causes the crash. I don't think recursion has anything to do with it. So its either call by reference parameters or most likely simply the nature of the key and the data. The keys are formed of 4 items - a handler name, a single char, a number, a long reference to a control. So they are long and contain anything that a named control contains - though there is nothing strange I can see there. I'll test with different data, with the same script and then try replacing these long keys with simple ones to see where the bug is... any pointers would be great, as tracking down crash bugs is very slow work! 2008/8/5 David Bovill > Rev rarely crashes nowadays - but I've got it crashing regularly now :) It > seems to be in the same area that has caused me problems before so i thuoght > I would see if others have any similar experiences. > > The context: I have an array which is used to store a "graph" = a linked > series of nodes. Each node is actually a key in the array, and the name of > the key is the name of a rev control. The elements of the array are other > named controls with may in turn link to other nodes in the array (named > controls) producing a graph. The recursive script walks the graph to delete > a node and anything that node links to that is not linked by other nodes - > that is it chops off any hanging branches. > > This is the general purpose array handler to do this - the one that > crashes: > > on linkArray_DeleteNode @someArray, someKey, @alreadyDeleted >> -- was "array_DeleteLinks" >> -- Treats an array as a place to store graphs. >> -- a recusive command >> >> -- do a recursion safety check to avoid infinite loops >> if someKey is among the lines of alreadyDeleted then return false >> put someKey & CR after alreadyDeleted >> >> -- delete the node someKey >> put someArray [someKey] into childKeys >> delete local someArray [someKey] >> if childKeys is empty then return false >> >> -- delete any links to the deleted node from other nodes >> repeat for each key testKey in someArray >> array_DeleteFromIndex someKey, testKey, someArray >> end repeat >> >> -- delete any child nodes of the deleted node (chop the branch off) >> -- even if there are links from it >> -- but not if other nodes link to it >> put array_Reverse(someArray) into reversedArray >> >> repeat for each line childKey in childKeys >> -- lets work out what other nodes link TO the child >> put reversedArray [childKey] into otherLinkingNodes >> -- apart from someKey >> line_Delete someKey, otherLinkingNodes >> >> if otherLinkingNodes is empty then >> -- recursively delete node >> linkArray_DeleteNode someArray, childKey, alreadyDeleted >> end if >> end repeat >> return true >> end linkArray_DeleteNode > > > Its hard to track down bugs that cause crashes and I can't post a stack as > the example uses a lot of libraries. Any thoughts? > From eric.chatonet at sosmartsoftware.com Tue Aug 5 10:12:24 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 16:12:24 +0200 Subject: Creating variables In-Reply-To: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> Message-ID: Bonjour Eric, Le 6 juil. 08 ? 22:38, ?ric Miclo a ?crit : > repeat for each line lineListOne in listOne > repeat for each line lineListTwo in listTwo > put (lineListOne & lineListTwo) into varName > put "test" into varName > end repeat > end repeat put into tContents do "put tContents into" && varName Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From david at openpartnership.net Tue Aug 5 10:42:16 2008 From: david at openpartnership.net (David Bovill) Date: Tue, 5 Aug 2008 15:42:16 +0100 Subject: Arrays, recursion and crashes? In-Reply-To: References: Message-ID: Fixing the array keys to use simple numeric strings (hashes for now) rather than keys based on the names of controls fixes the crashes - so the problem is not with call-by-reference or recursion. I'll try different naming schemse to see what sort of names create the crash - I assume it is some sort of invisible char as there is nothing I can see in the names that should cause a problem. From francois.chaplais at mines-paristech.fr Tue Aug 5 11:01:02 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Tue, 5 Aug 2008 17:01:02 +0200 Subject: Creating variables In-Reply-To: References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> Message-ID: <27D08FD1-B372-4828-99C2-3B53E47A0421@mines-paristech.fr> Le 5 ao?t 08 ? 16:12, Eric Chatonet a ?crit : > Bonjour Eric, > > Le 6 juil. 08 ? 22:38, ?ric Miclo a ?crit : > >> repeat for each line lineListOne in listOne >> repeat for each line lineListTwo in listTwo >> put (lineListOne & lineListTwo) into varName >> put "test" into varName >> end repeat >> end repeat > > put into tContents > do "put tContents into" && varName > > unfortunately, this is another call to the "do" command whose usage is seriously limited in standalones (this has been already discussed). I wish that there were to tell transcript that when "set the of to ", refers to variables whose value is the name of a transcript language chunk, without using the "do" command. I have never tried this before, but using a variable reference (with @ for instance?) would perhaps do the trick? Best regards Fran?ois From m.schonewille at economy-x-talk.com Tue Aug 5 11:24:38 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 5 Aug 2008 17:24:38 +0200 Subject: Very simple cursor problem In-Reply-To: <18167324.post@talk.nabble.com> References: <18028333.post@talk.nabble.com> <18167324.post@talk.nabble.com> Message-ID: <84E53340-649F-43C0-95FF-487FE2DA9FB1@economy-x-talk.com> What was this about? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 28 jun 2008, at 06:30, stevex64 wrote: > > I knew it would be simple. Thank you both for your input! > > Steve From lists at mangomultimedia.com Tue Aug 5 11:27:08 2008 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 5 Aug 2008 11:27:08 -0400 Subject: Arrays, recursion and crashes? In-Reply-To: References: Message-ID: <3DFDB365-8461-4880-B24B-CC4FEC115518@mangomultimedia.com> On Aug 5, 2008, at 10:42 AM, David Bovill wrote: > Fixing the array keys to use simple numeric strings (hashes for now) > rather > than keys based on the names of controls fixes the crashes - so the > problem > is not with call-by-reference or recursion. I'll try different naming > schemse to see what sort of names create the crash - I assume it is > some > sort of invisible char as there is nothing I can see in the names that > should cause a problem. David, Can you try your original code with the latest 3.0 beta and see if it still causes problems? There was a bug relating to recursive calls and arrays that was fixed in a recent build. The bug may have been related to using "do" as well but I don't remember the details and I don't have my notes with me. it might be worth a try. Regards, -- Trevor DeVore Blue Mango Learning Systems ScreenSteps: http://www.screensteps.com Developer Resources: http://revolution.bluemangolearning.com From devin_asay at byu.edu Tue Aug 5 11:35:32 2008 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 5 Aug 2008 09:35:32 -0600 Subject: The Euro symbol In-Reply-To: <4897818E.3070003@harbourhosting.co.uk> References: <4897818E.3070003@harbourhosting.co.uk> Message-ID: On Aug 4, 2008, at 4:24 PM, Martin Baxter wrote: > Devin Asay wrote: > >> 1. The html entity for the Euro symbol is "¤" > > I guess you are a mac user Devin? The html entity for the euro symbol > used in web pages is "€". "¤" may give you the euro symbol > on a mac, IIRC mac roman replaced its currency symbol with the euro > symbol some years back, but on Windows here I get the dear old > currency > symbol when I use "¤" and, in Revolution, "€" just > displays > unmodified, unfortunately. > > > Would be nice if € worked, I can't think of any reason why it > couldn't. I've used € or numtochar(128) on windows when needed. Wow, that's really curious, and disturbing. On my Mac, if I do set the htmlText of fld 1 to "€" I get, as you do, the string "€" in the field. And ¤ gives a Euro symbol on Mac, and the generic "circle atop an X" symbol on Windows. All along, I've just assumed that html entities were the same across platforms. I mean, isn't that the point? It looks like the only reliable way is to use unicode. Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From ambassador at fourthworld.com Tue Aug 5 12:43:45 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Aug 2008 09:43:45 -0700 Subject: [OT] Scour: a disease that kills cattle. Message-ID: <48988341.1020604@fourthworld.com> A search for key phrases in his email shows 220,000+ hits. Apparently this is just spam. I'm cc'ing Heather with this, and hopefully she'll be able to suspend the spammer's account and avoid the perception that this list can be used for unrelated product promotion. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From eric.chatonet at sosmartsoftware.com Tue Aug 5 12:47:24 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Tue, 5 Aug 2008 18:47:24 +0200 Subject: [OT] Scour: a disease that kills cattle. In-Reply-To: <48988341.1020604@fourthworld.com> References: <48988341.1020604@fourthworld.com> Message-ID: I have done it yet four hours ago but two heads are better than one :-) Le 5 ao?t 08 ? 18:43, Richard Gaskin a ?crit : > A search for key phrases in his email shows 220,000+ hits. > Apparently this is just spam. > > I'm cc'ing Heather with this, and hopefully she'll be able to > suspend the spammer's account and avoid the perception that this > list can be used for unrelated product promotion. > > -- > Richard Gaskin Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From heather at runrev.com Tue Aug 5 13:10:21 2008 From: heather at runrev.com (Heather Nagey) Date: Tue, 5 Aug 2008 18:10:21 +0100 Subject: [OT] Scour: a disease that kills cattle. In-Reply-To: <48988341.1020604@fourthworld.com> References: <48988341.1020604@fourthworld.com> Message-ID: <85E881CE-3A80-464A-8A60-1E26EDD369C4@runrev.com> Looks like he's been in, hit, and left. Can't find any trace of him anymore. I'll keep an eye out in case he does resurface. Heather On Aug 5, 2008, at 5:43 PM, Richard Gaskin wrote: > A search for key phrases in his email shows 220,000+ hits. > Apparently this is just spam. > > I'm cc'ing Heather with this, and hopefully she'll be able to > suspend the spammer's account and avoid the perception that this > list can be used for unrelated product promotion. > > -- > Richard Gaskin > Managing Editor, revJournal > _______________________________________________________ > Rev tips, tutorials and more: http://www.revJournal.com > > Email has been scanned for viruses by Altman Technologies' email > management service - www.altman.co.uk/emailsystems > Heather Nagey Customer Services Manager Runtime Revolution Ltd www.runrev.com From ambassador at fourthworld.com Tue Aug 5 13:18:22 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Aug 2008 10:18:22 -0700 Subject: Getting the text content of a HTML page Message-ID: <48988B5E.3050001@fourthworld.com> Jim Ault wrote: > Richard wrote: >> This function takes care of that, and this far benchmarks about >> an order of magnitude faster: >> >> function HtmlTextMethod pHtml >> put the properties of the templateField into tSaveProps >> set the htmlText of the templateField to pHtml >> get the text of the templateField >> set the properties of the templateField to tSaveProps >> return it >> end HtmlTextMethod > > Caution with this technique in that the Rev tags are noted in the > documentation to only include a subset of tags. So far I've had only good results with the htmlText method noted above. Not only is it blazing fast, but apparently it accounts for all <> tags, not just the ones the engine generates. For example, and other non-Rev-generated tags are stripped along with and the rest. Also, note this difference between the RegEx method and the htmlText method, using a snipped from a list post: RegEx result: put the replaceText(myText,"</?[A-Za-z]+>","") into myText htmlText result: put the replaceText(myText,"","") into myText The RegEx version also added a lot more white space to the output, while the htmlText version preserved the original formatting appearance with greater fidelity. Of course the usefulness of this depends on what you want to do with the output. If the goal is to strip tags only but leave HTML entities in place, htmlText is not the answer. But if the goal is to strip HTML to a form most suitable for display in a field as plain text, the htmlText method does most of the work for you in just two very efficient lines. That said, I have no illusions that the htmlText function above will work for _everything_ that might wind up in a web page or XML document. But given its blindingly fast performance and the scope of things it handles in well-optimized machine-compiled code in the engine, it seems a good starting point for a more complete function which would have relatively little other cleanup work to do after using it. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From JimAultWins at yahoo.com Tue Aug 5 14:15:22 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Tue, 05 Aug 2008 11:15:22 -0700 Subject: Getting the text content of a HTML page In-Reply-To: <48988B5E.3050001@fourthworld.com> Message-ID: On 8/5/08 10:18 AM, "Richard Gaskin" wrote: > But given its blindingly fast performance and the scope of things it > handles in well-optimized machine-compiled code in the engine, it seems > a good starting point for a more complete function which would have > relatively little other cleanup work to do after using it. Agreed that the htmlText is the fastest method for removing balanced tags. It is good to know all the benchmarking results you produce. I save these since I want to know, and it is better that the same techniques are used so the results can be compared. Thanks for the good info. What I have needed in my apps is the ability to parse the raw html and extract certain tags and user visible text, then extract the data. In other words, --> data mining. One example is several charts of stock data shown on a page. The column headers are text that is repeated many times on the page, so that particular text is not good for isolating a particular table, but in almost every case, the html tags do allow that specificity. After isolating a table by using the tags, then using the text column headers makes sure that I will be extracting the correct data, even if the publisher of the web page moves the columns or tables. Now I have the correct values to add to my database. Of course I do error checking on the data values before assuming the page is accurate. Another case of needing the tags is to test if the web server has sent back a special condition, such as "interrupted, not available, maintenance" Another case is looking for the absence of tags that mean missing data or incomplete server delivery. Jim Ault Las Vegas From dave.cragg at lacscentre.co.uk Tue Aug 5 14:16:03 2008 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 5 Aug 2008 19:16:03 +0100 Subject: Speeding up get URL In-Reply-To: <4896EF5C.2000808@gmail.com> References: <4896EF5C.2000808@gmail.com> Message-ID: On 4 Aug 2008, at 13:00, Alex Tweedly wrote: >> > You should be able to achieve that using 'load URL' - set off a > number of 'load's going and then by checking the URLstatus you can > process them as they have finished arriving to your machine; and as > the number of outstanding requested URLs decreases, set off the next > batch of 'load's. In this case, Alex, I don't think there will be a noticeable difference. Although "load" can make simultaneous requests, requests to the same domain are queued, and are sent in turn after the previous request returns. As "get" will also re-use open connections, I think the result will be pretty much the same. I like the idea of running a script on the server. (I'm behind a fairly slow DSL connection.) Cheers Dave From iowahengst at mac.com Tue Aug 5 14:55:55 2008 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 05 Aug 2008 11:55:55 -0700 Subject: Sliders & Images Message-ID: <126697059665960937451676074787148378955-Webmail2@me.com> Hi Eric, Thank you for the ideas. I hoped someone would help me see some other options. take care, randy ----- On Aug 5, 2008, at 8:42 AM, Eric Chatonet wrote: Bonjour Randy, I could not resist... You could save your time using a more modular code :-) on scrollbarDrag pValue SetValue pValue -- end scrollbarDrag ------------------------- on SetValue pValue set the label of button "Show and Say Answer" to item pValue of "Show and Say Answer,Multiple Choice Game,Matching New Time,Add Subtract New Time" end SetValue ------------------------- on mouseUp do "InitGame" & the thumbposition of me end mouseUp ------------------------- on InitGame1 -- hide and show stuff here end InitGame1 ------------------------- on InitGame2 etc. In addition, mouseRelease generally means that the user does not want the action to occur then you might want to suppress it... Hope it will give you some ideas ;-) Le 5 ao?t 08 ? 15:25, Randy Hengst a ?crit : Hi Heather, I just woke up and saw this thread and it looks like you've received plenty of good advice already. I'm a relative rookie at all this, but thought I'd share an example that might give you some ideas. I used a slider in program to help students practice telling time -- the slider is used to select the game. The slider values were set from 1 to 4. The movement of the slider changed the label of a button that denoted the game to be selected. Then on the mouseUp the game settings were put into place. take care, randy hengst on scrollbarDrag newValue switch newValue case "1" set the label of button "Show and Say Answer" to "Show and Say Answer" break case "2" set the label of button "Show and Say Answer" to "Multiple Choice Game" break case "3" set the label of button "Show and Say Answer" to "Matching New Time" break case "4" set the label of button "Show and Say Answer" to "Add Subtract New Time" break end switch end scrollbarDrag on mouseUp switch the thumbposition of me case "1" set the label of button "Show and Say Answer" to "Show and Say Answer" lock screen -- hide and show stuff here unlock screen break case "2" set the label of button "Show and Say Answer" to "Multiple Choice Game" lock screen -- hide and show stuff here unlock screen break case "3" set the label of button "Show and Say Answer" to "Matching New Time" lock screen -- hide and show stuff here unlock screen break case "4" set the label of button "Show and Say Answer" to "Add Subtract New Time" lock screen -- hide and show stuff here unlock screen break end switch end mouseUp on mouseRelease mouseUp end mouseRelease Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From david at openpartnership.net Tue Aug 5 16:20:09 2008 From: david at openpartnership.net (David Bovill) Date: Tue, 5 Aug 2008 21:20:09 +0100 Subject: Arrays, recursion and crashes? In-Reply-To: <3DFDB365-8461-4880-B24B-CC4FEC115518@mangomultimedia.com> References: <3DFDB365-8461-4880-B24B-CC4FEC115518@mangomultimedia.com> Message-ID: Good idea. Im not part of the 3.0 beta programme - got a studio license. How do I? I think I should be trying out the new array stuff as I will definitely be using it for tree type structures. 2008/8/5 Trevor DeVore > On Aug 5, 2008, at 10:42 AM, David Bovill wrote: > > Fixing the array keys to use simple numeric strings (hashes for now) >> rather >> than keys based on the names of controls fixes the crashes - so the >> problem >> is not with call-by-reference or recursion. I'll try different naming >> schemse to see what sort of names create the crash - I assume it is some >> sort of invisible char as there is nothing I can see in the names that >> should cause a problem. >> > > David, > > Can you try your original code with the latest 3.0 beta and see if it still > causes problems? There was a bug relating to recursive calls and arrays that > was fixed in a recent build. The bug may have been related to using "do" as > well but I don't remember the details and I don't have my notes with me. it > might be worth a try. > > Regards, > > -- > Trevor DeVore > Blue Mango Learning Systems > ScreenSteps: http://www.screensteps.com > Developer Resources: http://revolution.bluemangolearning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From stephenREVOLUTION2 at barncard.com Tue Aug 5 16:54:38 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Tue, 5 Aug 2008 13:54:38 -0700 Subject: BETA PGM was Arrays, recursion and crashes? In-Reply-To: References: <3DFDB365-8461-4880-B24B-CC4FEC115518@mangomultimedia.com> Message-ID: David, you've been known to the list for some time. I think you'll pass the audition. http://www.runrev.com/developers/getting-started/beta-signup/ At 9:20 PM +0100 8/5/08, David Bovill wrote: >Good idea. Im not part of the 3.0 beta programme - got a studio license. How >do I? I think I should be trying out the new array stuff as I will >definitely be using it for tree type structures. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From mb.userev at harbourhosting.co.uk Tue Aug 5 17:13:25 2008 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Tue, 05 Aug 2008 22:13:25 +0100 Subject: The Euro symbol In-Reply-To: References: <4897818E.3070003@harbourhosting.co.uk> Message-ID: <4898C275.5080704@harbourhosting.co.uk> Devin Asay wrote: > > On Aug 4, 2008, at 4:24 PM, Martin Baxter wrote: > >> Devin Asay wrote: >> >>> 1. The html entity for the Euro symbol is "¤" >> >> I guess you are a mac user Devin? The html entity for the euro symbol >> used in web pages is "€". "¤" may give you the euro symbol >> on a mac, IIRC mac roman replaced its currency symbol with the euro >> symbol some years back, but on Windows here I get the dear old currency >> symbol when I use "¤" and, in Revolution, "€" just displays >> unmodified, unfortunately. >> >> >> Would be nice if € worked, I can't think of any reason why it >> couldn't. I've used € or numtochar(128) on windows when needed. > > Wow, that's really curious, and disturbing. On my Mac, if I do > > set the htmlText of fld 1 to "€" > > I get, as you do, the string "€" in the field. And ¤ gives a > Euro symbol on Mac, and the generic "circle atop an X" symbol on > Windows. All along, I've just assumed that html entities were the same > across platforms. I mean, isn't that the point? > > It looks like the only reliable way is to use unicode. > > Devin I'm pretty sure the reason is that Revolution's htmltext was designed before the € entity was agreed. Would have been back in the day when the mac had the currency symbol at that character position. Since then the glyph has changed. I think that windows-1252's addition of the euro glyph at position 128 probably also postdates the design of the htmltext. This sounds like it might be a good enhancement request since, in effect, the htmltext no longer reflects the character sets actually in use today. Would it inconvenience anybody's existing code to change this I wonder? Martin Baxter From sarah.reichelt at gmail.com Tue Aug 5 17:49:15 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 6 Aug 2008 07:49:15 +1000 Subject: Getting the text content of a HTML page In-Reply-To: <00b101c8f6de$f0929510$0a01010a@ANNIESPUTA> References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA> <49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com> <00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA> <4896BF56.6000303@ekoinf.net> <008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA> <00c801c8f62d$162ae410$0a01010a@ANNIESPUTA> <00b101c8f6de$f0929510$0a01010a@ANNIESPUTA> Message-ID: On Tue, Aug 5, 2008 at 7:37 PM, H Baric wrote: > Wow Eric, great work! A valuable contribution to be sure :) > > I have found gold in the conference stacks especially! Thanks soooo much. > Woohoo stop me now :-D > > I'm in Australia by the way (anyone else from Oz here?) Yes, there are a few of us here. I'm in Queensland and there are some in Melbourne, Sydney & Adelaide as well as several in NZ. It's neat because we can ask a question and when we wake up, it will have been answered :-) Cheers, Sarah From sarah.reichelt at gmail.com Tue Aug 5 18:12:31 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Wed, 6 Aug 2008 08:12:31 +1000 Subject: Some Stacks Won't Open in Finder in OS X? In-Reply-To: References: Message-ID: On Sat, Jul 19, 2008 at 7:52 AM, joe wrote: > Sarah; > i can't find your "AppleScript droplet called Rev Droplet File Type > Converter' on the "User contributions section of the Rev website"; I can't > even find the "User contributions section". Help! Can you link me?(Thanks) Hi Joe, You can find this on my own site at Look for "RevDroplet.sit" Cheers, Sarah From erik at erikhansen.org Tue Aug 5 18:19:16 2008 From: erik at erikhansen.org (Hansen Erik) Date: Tue, 5 Aug 2008 15:19:16 -0700 (PDT) Subject: call to the "do" command...limited in standalones Message-ID: <914367.14833.qm@web1006.biz.mail.sp1.yahoo.com> unfortunately, this is another call to the "do" command whose usage is seriously limited in standalones (this has been already discussed). I wish that there were to tell transcript that when "set the of to ", refers to variables whose value is the name of a transcript language chunk, without using the "do" command. I have never tried this before, but using a variable reference (with @ for instance?) would perhaps do the trick? Best regards Fran?ois === What was the thread called? Merci, Erik From m.schonewille at economy-x-talk.com Tue Aug 5 19:28:06 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Aug 2008 01:28:06 +0200 Subject: call to the "do" command...limited in standalones In-Reply-To: <914367.14833.qm@web1006.biz.mail.sp1.yahoo.com> References: <914367.14833.qm@web1006.biz.mail.sp1.yahoo.com> Message-ID: Hi Erik, Could you please give a real-world example of what you try to achieve? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 6 aug 2008, at 00:19, Hansen Erik wrote: > > > unfortunately, this is another call to the "do" command whose usage > is seriously limited in standalones (this has been already discussed). > I wish that there were to tell transcript that when "set the > of to ", refers to > variables whose value is the name of a transcript language chunk, > without using the "do" command. > I have never tried this before, but using a variable reference (with > @ for instance?) would perhaps do the trick? > > Best regards > Fran?ois > > === > > What was the thread called? > > Merci, Erik > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at mines-paristech.fr Tue Aug 5 20:25:44 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 6 Aug 2008 02:25:44 +0200 Subject: call to the "do" command...limited in standalones [was: Creating variables] In-Reply-To: <914367.14833.qm@web1006.biz.mail.sp1.yahoo.com> References: <914367.14833.qm@web1006.biz.mail.sp1.yahoo.com> Message-ID: Le 6 ao?t 08 ? 00:19, Hansen Erik a ?crit : > > > unfortunately, this is another call to the "do" command whose usage > is seriously limited in standalones (this has been already discussed). > I wish that there were to tell transcript that when "set the > of to ", refers to > variables whose value is the name of a transcript language chunk, > without using the "do" command. > I have never tried this before, but using a variable reference (with > @ for instance?) would perhaps do the trick? > > Best regards > Fran?ois > > === > > What was the thread called? > > Merci, Erik > it seems the reply was messed up. The previous post was from Eric Chatonet, quoted below: > Bonjour Eric, > > Le 6 juil. 08 ? 22:38, ?ric Miclo a ?crit : > > >> repeat for each line lineListOne in listOne >> repeat for each line lineListTwo in listTwo >> put (lineListOne & lineListTwo) into varName >> put "test" into varName >> end repeat >> end repeat >> > > put into tContents > do "put tContents into" && varName > > Best regards from Paris, > Eric Chatonet. > (which prompted my remark on the do command) it was itself a reply to > Hello, > > I've 2 lists of names and want to create variables by combining the > names of the 2 lists. > > Example: > > listOne is: > > A > B > C > > > listTwo is: > > 1 > 2 > > and I want to create those variables: > > A1 > A2 > B1 > B2 > C1 > C2 > > I did try this: > > repeat for each line lineListOne in listOne > repeat for each line lineListTwo in listTwo > put "test" into (lineListOne & lineListTwo) > end repeat > end repeat > > and this (though I was sure it didn't work): > > repeat for each line lineListOne in listOne > repeat for each line lineListTwo in listTwo > put (lineListOne & lineListTwo) into varName > put "test" into varName > end repeat > end repeat > > and some other variants (using the value of...) but nothing is > working. > > Is that possible or do I have to "manually" initialize the > variables that way: > > put "test" into A1 > put "test" into A2 > ... > by Eric Miclo. HTH From erik at erikhansen.org Tue Aug 5 20:26:13 2008 From: erik at erikhansen.org (Erik Hansen) Date: Tue, 5 Aug 2008 17:26:13 -0700 (PDT) Subject: call to the "do" command...limited in standalones Message-ID: <592476.21786.qm@web1007.biz.mail.sp1.yahoo.com> Could you please give a real-world example of what you try to achieve? Mark Schonewille === I just have do commands that will wind up in standalones and was wondering what the problems are, in general. > > unfortunately, this is another call to the "do" command whose usage > is seriously limited in standalones (this has been already discussed). > I wish that there were to tell transcript that when "set the > of to ", refers to > variables whose value is the name of a transcript language chunk, > without using the "do" command. > I have never tried this before, but using a variable reference (with > @ for instance?) would perhaps do the trick? > > Best regards > Fran?ois > > === > > What was the thread called? > > Merci, Erik > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at mines-paristech.fr Tue Aug 5 20:55:11 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 6 Aug 2008 02:55:11 +0200 Subject: [OT] little rabbit Message-ID: <338A2304-9079-4161-A1F0-E1FA1ED6C206@mines-paristech.fr> just to say I was a little late replying To Erik's message because I was playing Diablo II (LOD), and while playing, slaying furiously demons and living dead and the like, the was a moment of quietness in the game and then: I saw a lil' white rabbit running on the frozen plains of episode V, jumping, running... weird.. Best regards Fran?ois From lan.kc.macmail at gmail.com Wed Aug 6 01:41:01 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Aug 2008 13:41:01 +0800 Subject: Trip to Beijing -- Olympics -- anyone else? In-Reply-To: <322253fe0808031042p2c24d85cpc217527e89c92b6f@mail.gmail.com> References: <322253fe0808031042p2c24d85cpc217527e89c92b6f@mail.gmail.com> Message-ID: On Mon, Aug 4, 2008 at 1:42 AM, Mark Rauterkus wrote: http://Rauterkus.blogspot.com > > I visited your blog, but none of the photos came up. OSX 10.5.4, FireFox 2.0.0.16. Any ideas why. From pepetoo at cox.net Wed Aug 6 01:54:32 2008 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Tue, 5 Aug 2008 22:54:32 -0700 Subject: Trip to Beijing -- Olympics -- anyone else? In-Reply-To: References: <322253fe0808031042p2c24d85cpc217527e89c92b6f@mail.gmail.com> Message-ID: I believe I saw all of the images using FireFox 3.0.1; same OSX 10.5.4 Perhaps that is the reason? Joe Wilkins On Aug 5, 2008, at 10:41 PM, Kay C Lan wrote: > On Mon, Aug 4, 2008 at 1:42 AM, Mark Rauterkus >wrote: > > http://Rauterkus.blogspot.com >> >> I visited your blog, but none of the photos came up. OSX 10.5.4, >> FireFox > 2.0.0.16. > > Any ideas why. From lan.kc.macmail at gmail.com Wed Aug 6 02:06:19 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Aug 2008 14:06:19 +0800 Subject: Trip to Beijing -- Olympics -- anyone else? In-Reply-To: References: <322253fe0808031042p2c24d85cpc217527e89c92b6f@mail.gmail.com> Message-ID: On Wed, Aug 6, 2008 at 1:54 PM, Joe Lewis Wilkins wrote: I believe I saw all of the images using FireFox 3.0.1 May have to download. Thanks From lan.kc.macmail at gmail.com Wed Aug 6 02:12:31 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Aug 2008 14:12:31 +0800 Subject: Some Stacks Won't Open in Finder in OS X? In-Reply-To: References: Message-ID: On Sat, Jul 19, 2008 at 5:52 AM, joe wrote: > I can't even find the "User contributions section". Help! Can you link > me?(Thanks) > > Within Rev, Development Menu --> Revolution OnLine (need to be online of course to access). A stack pops up and in the left field 'Channels', choose 'User Spaces'. HTH From larry at rmg.net Wed Aug 6 02:25:35 2008 From: larry at rmg.net (Larry Forsgren) Date: Wed, 06 Aug 2008 01:25:35 -0500 Subject: engine crash on open stack Message-ID: <489943DF.3020206@rmg.net> Hi everybody! I am returning to Revolution after some years of inactivity and am currently testing the Enterprise engine Build 610 Version 2.9.0 on Windows. The application I am working on has progressed well and I have a standalone which works fine although needs some refinement. Suddenly I cannot open the stack (one single stack) in Revolution. The engine crashes and closes immediately when I try to open the stack. Possibly I have added something in a script that causes this since I can open other stacks. I did a reinstall of Revolution but the problem persists. Unfortunately I have no earlier version of the stack to fall back on. What do the people that are more experienced with Revolution than I am, say? Do I have to excavate the scripts from the standalone and start over again? Is this some known bug that others have experienced as well? I was really happy with the current Revolution version until this happened. Now I have a stack which seems to be broken although the engine can't even report if it's broken or not. I believe the stack cannot be opened in an external editor without getting corrupt... Is there a way to correct this problem? Any help would be much appreciated. Thanks Larry From m.schonewille at economy-x-talk.com Wed Aug 6 03:21:08 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Aug 2008 09:21:08 +0200 Subject: engine crash on open stack In-Reply-To: <489943DF.3020206@rmg.net> References: <489943DF.3020206@rmg.net> Message-ID: <53E6D516-3BB6-4E5B-B508-CAA51E20780F@economy-x-talk.com> Dear Larry, You can suppress messages in the Development menu. Does the stack still quit automatically, after you suppress messages? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 6 aug 2008, at 08:25, Larry Forsgren wrote: > Hi everybody! > > > Suddenly I cannot open the stack (one single stack) in Revolution. > The engine crashes and closes immediately when I try to open the > stack. Possibly I have added something in a script that causes this > since I can open other stacks. > I did a reinstall of Revolution but the problem persists. From eric.chatonet at sosmartsoftware.com Wed Aug 6 03:30:23 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 09:30:23 +0200 Subject: engine crash on open stack In-Reply-To: <489943DF.3020206@rmg.net> References: <489943DF.3020206@rmg.net> Message-ID: <11259CD8-2928-4004-8877-DC8F8A2FA134@sosmartsoftware.com> Bonjour Larry, Le 6 ao?t 08 ? 08:25, Larry Forsgren a ?crit : > Suddenly I cannot open the stack (one single stack) in Revolution. > The engine crashes and closes immediately when I try to open the > stack. Possibly I have added something in a script that causes this > since I can open other stacks. 1. Open Rev itself. 2. Lock messages by clicking on the right icon in Rev tool bar. 3. Use the File menu to open your stack. 4. Put a breakpoint at the beginning of the first handler run when your stack opens (preOpenstack, openStack, openCard, etc.) 5. Send these messages using the message box and see what happens when debugging :-) Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From runrev at animabit.de Wed Aug 6 04:59:20 2008 From: runrev at animabit.de (runrev at animabit.de) Date: Wed, 6 Aug 2008 08:59:20 +0000 Subject: waiting time of shell() Message-ID: Hello, I use put shell(perlupload) into result if result contains "xyz" then put true into itworked else ... end if with perlupload as a perl program which loads files through proxy http on slow connections to a cgi prog on the server ... and gets the http-HTML-respond page as result. This result is returned to runrev and I want to check the success. This works fine for 90 % of the files but in the case the files have the size of up to 5 MB the perl upload process needs more time than the shell command is patient to wait. The perl process in most cases continues until success, but the return of the shell is empty and therefore my runrev prog never could be sure whether the upload process had been successful or not. I cannot do the upload in runrev native, because it is a special VPN context, which I could not solve in runrev native but in perl. Q1: what is the prefigured waiting time of a shell command in runrev? Q2: can I change this waiting time (let shell the time to work longer for long processes, before it returns control to runrev and says empty as result) Thank you for any advice, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 From hbaric at gmail.com Wed Aug 6 05:17:09 2008 From: hbaric at gmail.com (H Baric) Date: Wed, 6 Aug 2008 19:17:09 +1000 Subject: Sliders & Images References: <00b501c8f6df$196e0640$0a01010a@ANNIESPUTA><621278C3-C813-442F-8661-F047B56D315B@sosmartsoftware.com><00e201c8f6e8$71267350$0a01010a@ANNIESPUTA><70A63AAC-9D95-49FF-A8E5-BBABCEFE051E@sosmartsoftware.com><00f001c8f6ed$9c407090$0a01010a@ANNIESPUTA><76411049-45CD-4309-86F9-05C839D500F8@sosmartsoftware.com><010801c8f6f5$510917f0$0a01010a@ANNIESPUTA><9D1D3EF8-C6A8-41E4-8E74-232025ED8D89@sosmartsoftware.com><011701c8f6f9$b00e83d0$0a01010a@ANNIESPUTA> <437A7448-FFC3-40A6-82CC-FE78C24D5DCD@sosmartsoftware.com> Message-ID: <000e01c8f7a5$36d851b0$0a01010a@ANNIESPUTA> Thanks so much for your help Eric, I won't forget it :) Now, there are more than 52 more emails after this one - busy night last night obviously! Cheers, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 11:00 PM Subject: Re: Sliders & Images Here is the explanation: The scrollBarDrag message is sent by the engine every time that the 'real' thumb position has changed by one pixel. So this message may fire several times in some milliseconds if you move the thumb quickly. On the other hand, 'beep' sound is longer than that. Then if a new beep is required when the previous one is not finished to be played, it's queued and executed when the previous is finished. With all beeps you have heard, it's easy to understand now why a condition might be welcome. :-) Le 5 ao?t 08 ? 14:49, H Baric a ?crit : > That's what I did Eric, well I'm pretty sure I did! (on > scrollbarDrag thePos > ; set the icon of btn "bgImage" to the id of img ("blue" & > thePos) ; beep) > > Though I just tried again, and my beeps aren't oh wait there it > goes HAHA. > Only about 20 seconds after I moved the slider hahahaha > > I reallly need a new computer maybe? > > * Actually my "beep x" doesn't work either most of the time. I > generally > never get the same number I state. :( > > My PC *is* a bit of a dino now I guess. > > Cheers, > Heather > > > ----- Original Message ----- > From: "Eric Chatonet" > To: "How to use Revolution" > Sent: Tuesday, August 05, 2008 10:18 PM > Subject: Re: Sliders & Images > > > Sorry I was not clear enough: > Add a 'beep' in your scrollbarDrag handler and you will hear > continuous beeps when dragging scrollbar's thumb even if the reported > thumb position in the scrollbarDrag handler does not actually change. > > Le 5 ao?t 08 ? 14:18, H Baric a ?crit : > >> Thanks for making that clear Eric. >> >> Well I just added beep, and I get just ONE beep. Then it's done. >> >> Maybe my system is as lazy and tired as me :-D >> >> Cheers, >> Heather >> >> >> ----- Original Message ----- >> From: "Eric Chatonet" >> To: "How to use Revolution" >> Sent: Tuesday, August 05, 2008 9:49 PM >> Subject: Re: Sliders & Images >> >> >> Add a 'beep' in your scrollbarDrag handler and you will hear >> continuous beeps even if the thumb position does not actually change: >> So adding a condition to check if the image has to change is a good >> idea because without it you'll change the image continuously even if >> it's not needed: >> This means CPU use, screen refresh, etc. even if you don't notice >> anything. >> Just good practice :-) >> >> Le 5 ao?t 08 ? 13:22, H Baric a ?crit : >> >>> "not run the code if it's not needed" >>> >>> Sorry Eric can you please explain why or when it wouldn't be? >>> >>> Thanks! >>> >>> Cheers, >>> Heather >>> >>> >>> ----- Original Message ----- >>> From: "Eric Chatonet" >>> To: "How to use Revolution" >>> Sent: Tuesday, August 05, 2008 8:48 PM >>> Subject: Re: Sliders & Images >>> >>> >>> Mark's idea sounds good because it does not reorganize layers but I >>> would add a condition to not run the code if it's not needed: >>> >>> on scrollbarDrag thePos >>> if the icon of btn x <> the id of img ("blue" & thePos) then >>> set the icon of btn x to the id of img ("blue" & thePos) >>> end if >>> end scrollbarDrag >>> >>> Le 5 ao?t 08 ? 12:45, H Baric a ?crit : >>> >>>> Excellent! Merci! >>>> >>>> ----- Original Message ----- >>>> From: "Eric Chatonet" >>>> To: "How to use Revolution" >>>> Sent: Tuesday, August 05, 2008 7:37 PM >>>> Subject: Re: Sliders & Images >>>> >>>> >>>> on scrollbarDrag pPos >>>> set the layer of img ("blue" & pPos) to top >>>> end scrollbarDrag > > > Best regards from Paris, > Eric Chatonet. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From lists at futilism.com Wed Aug 6 05:12:55 2008 From: lists at futilism.com (Mark Smith) Date: Wed, 6 Aug 2008 10:12:55 +0100 Subject: waiting time of shell() In-Reply-To: References: Message-ID: <4E9F5303-C9E5-4413-A9B9-72BAA3F2BBD1@futilism.com> Perhaps you could try using , something like: open process perlupload for read repeat wait 500 millisecs with messages read from process perlupload until empty put it into tResponse if "xyz" is in it then put it into tResponse exit repeat end if end repeat close process perlupload put tResponse You might want to put in some other exit conditions to avoid the loop being infinite, but this sort of approach might work better for long uploads. Best, Mark On 6 Aug 2008, at 09:59, runrev at animabit.de wrote: > Hello, > > I use > > put shell(perlupload) into result > if result contains "xyz" then > put true into itworked > else > ... > end if > > with perlupload as a perl program which loads files through proxy > http on slow connections to a cgi prog on the server ... and gets > the http-HTML-respond page as result. This result is returned to > runrev and I want to check the success. > > This works fine for 90 % of the files but in the case the files > have the size of up to 5 MB the perl upload process needs more time > than the shell command is patient to wait. The perl process in most > cases continues until success, but the return of the shell is empty > and therefore my runrev prog never could be sure whether the upload > process had been successful or not. I cannot do the upload in > runrev native, because it is a special VPN context, which I could > not solve in runrev native but in perl. > > Q1: what is the prefigured waiting time of a shell command in runrev? > Q2: can I change this waiting time (let shell the time to work > longer for long processes, before it returns control to runrev and > says empty as result) > > > Thank you for any advice, > > Franz > > Mit freundlichen Gr??en > Franz B?hmisch > > boehmisch at animabit.de > http://www.animabit.de > GF Animabit Multimedia Software GmbH > Am Sonnenhang 22 > D-94136 Thyrnau > Tel +49 (0)8501-8538 > Fax +49 (0)8501-8537 > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Wed Aug 6 05:27:39 2008 From: hbaric at gmail.com (H Baric) Date: Wed, 6 Aug 2008 19:27:39 +1000 Subject: Sliders & Images References: <135034619121997738846112065757739318820-Webmail2@me.com> <0A62A711-1A1F-4A1C-8ADD-D35B3FDA5798@sosmartsoftware.com> Message-ID: <002701c8f7a6$aff993a0$0a01010a@ANNIESPUTA> Hi and thanks Randy and Eric! Now Randy, your script here makes perfect sense to me as a beginner! Eric's not so, but I want it to, so these two scripts I shall take away and learn from! :) Cheers, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Tuesday, August 05, 2008 11:42 PM Subject: Re: Sliders & Images Bonjour Randy, I could not resist... You could save your time using a more modular code :-) on scrollbarDrag pValue SetValue pValue -- end scrollbarDrag ------------------------- on SetValue pValue set the label of button "Show and Say Answer" to item pValue of "Show and Say Answer,Multiple Choice Game,Matching New Time,Add Subtract New Time" end SetValue ------------------------- on mouseUp do "InitGame" & the thumbposition of me end mouseUp ------------------------- on InitGame1 -- hide and show stuff here end InitGame1 ------------------------- on InitGame2 etc. In addition, mouseRelease generally means that the user does not want the action to occur then you might want to suppress it... Hope it will give you some ideas ;-) Le 5 ao?t 08 ? 15:25, Randy Hengst a ?crit : > Hi Heather, > > I just woke up and saw this thread and it looks like you've > received plenty of good advice already. I'm a relative rookie at > all this, but thought I'd share an example that might give you some > ideas. > > I used a slider in program to help students practice telling time > -- the slider is used to select the game. The slider values were > set from 1 to 4. The movement of the slider changed the label of a > button that denoted the game to be selected. Then on the mouseUp > the game settings were put into place. > > take care, > randy hengst > > on scrollbarDrag newValue > switch newValue > case "1" > set the label of button "Show and Say Answer" to "Show and Say > Answer" > break > case "2" > set the label of button "Show and Say Answer" to "Multiple > Choice Game" > break > case "3" > set the label of button "Show and Say Answer" to "Matching New > Time" > break > case "4" > set the label of button "Show and Say Answer" to "Add Subtract > New Time" > break > end switch > end scrollbarDrag > > on mouseUp > switch the thumbposition of me > case "1" > set the label of button "Show and Say Answer" to "Show and Say > Answer" > lock screen > -- hide and show stuff here > unlock screen > break > case "2" > set the label of button "Show and Say Answer" to "Multiple > Choice Game" > lock screen > -- hide and show stuff here > unlock screen > break > case "3" > set the label of button "Show and Say Answer" to "Matching New > Time" > lock screen > -- hide and show stuff here > unlock screen > break > case "4" > set the label of button "Show and Say Answer" to "Add Subtract > New Time" > lock screen > -- hide and show stuff here > unlock screen > break > end switch > end mouseUp > > on mouseRelease > mouseUp > end mouseRelease Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Wed Aug 6 05:48:29 2008 From: hbaric at gmail.com (H Baric) Date: Wed, 6 Aug 2008 19:48:29 +1000 Subject: Getting the text content of a HTML page References: <00b401c8f4ac$70f29f00$0a01010a@ANNIESPUTA><49028750-2207-4833-99BD-9D8D31BA4699@economy-x-talk.com><00ed01c8f589$4b6d5440$0a01010a@ANNIESPUTA><4896BF56.6000303@ekoinf.net><008f01c8f621$6d12ee50$0a01010a@ANNIESPUTA><00c801c8f62d$162ae410$0a01010a@ANNIESPUTA><00b101c8f6de$f0929510$0a01010a@ANNIESPUTA> Message-ID: <00b301c8f7a9$97922450$0a01010a@ANNIESPUTA> Wonderful Sarah! :) Cheers, Heather ----- Original Message ----- From: "Sarah Reichelt" To: "How to use Revolution" Sent: Wednesday, August 06, 2008 7:49 AM Subject: Re: Getting the text content of a HTML page On Tue, Aug 5, 2008 at 7:37 PM, H Baric wrote: > Wow Eric, great work! A valuable contribution to be sure :) > > I have found gold in the conference stacks especially! Thanks soooo much. > Woohoo stop me now :-D > > I'm in Australia by the way (anyone else from Oz here?) Yes, there are a few of us here. I'm in Queensland and there are some in Melbourne, Sydney & Adelaide as well as several in NZ. It's neat because we can ask a question and when we wake up, it will have been answered :-) Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Wed Aug 6 06:15:32 2008 From: hbaric at gmail.com (H Baric) Date: Wed, 6 Aug 2008 20:15:32 +1000 Subject: File Name in Field? Message-ID: <014501c8f7ad$5e5bb350$0a01010a@ANNIESPUTA> Just a quickie (I searched and cannot find): On opening a text file with the dialog, and displaying the contents in a field: is there a way to retrieve just the filename? (so I can put it in it's own field) tia :) Cheers, Heather From m.schonewille at economy-x-talk.com Wed Aug 6 06:35:53 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Aug 2008 12:35:53 +0200 Subject: File Name in Field? In-Reply-To: <014501c8f7ad$5e5bb350$0a01010a@ANNIESPUTA> References: <014501c8f7ad$5e5bb350$0a01010a@ANNIESPUTA> Message-ID: <7F2EE2B9-3DD3-4B18-B3A3-09E8173CDEF7@economy-x-talk.com> Hi Heather, After using the answer file or ask file command, you have the required information in the it variable. Do with it whatever you like. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 6 aug 2008, at 12:15, H Baric wrote: > Just a quickie (I searched and cannot find): > > On opening a text file with the dialog, and displaying the contents > in a field: is there a way to retrieve just the filename? (so I can > put it in it's own field) > > tia :) > > Cheers, > Heather From eric.chatonet at sosmartsoftware.com Wed Aug 6 06:39:03 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 12:39:03 +0200 Subject: File Name in Field? In-Reply-To: <014501c8f7ad$5e5bb350$0a01010a@ANNIESPUTA> References: <014501c8f7ad$5e5bb350$0a01010a@ANNIESPUTA> Message-ID: <4551672F-C878-4E0C-B06D-B11268EBB492@sosmartsoftware.com> Heather, Le 6 ao?t 08 ? 12:15, H Baric a ?crit : > On opening a text file with the dialog, and displaying the contents > in a field: is there a way to retrieve just the filename? (so I can > put it in it's own field) local tFilePath, tFileName answer file "Choose a file:" if it <> empty then put it into tFilePath put FilePathToShortFileName(tFilePath) into tFileName etc. ---------------------------- function FilePathToShortFileName pPath set the itemDelimiter to slash return item -1 of pPath end FilePathToShortFileName Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From francois.chaplais at mines-paristech.fr Wed Aug 6 07:25:03 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 6 Aug 2008 13:25:03 +0200 Subject: Creating variables In-Reply-To: References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> Message-ID: <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> Le 5 ao?t 08 ? 16:12, Eric Chatonet a ?crit : > Bonjour Eric, > > Le 6 juil. 08 ? 22:38, ?ric Miclo a ?crit : > >> repeat for each line lineListOne in listOne >> repeat for each line lineListTwo in listTwo >> put (lineListOne & lineListTwo) into varName >> put "test" into varName >> end repeat >> end repeat > > put into tContents > do "put tContents into" && varName > > Best regards from Paris, > Eric Chatonet. > a more general digression on manipulating rev object by names and not by value: as far as I am concerned, it seems to me that, for instance, if is the long name of a filed, if you want to put empty into the field with name , then you have to script do "put empty into" && and then probably have to deal with the quotes in the long name (it seems I have had to do this countless times when executing a loop on object names in a group/card/whatever) The OP was concerned to setting a variable value when knowing only its name, and Eric's answer was to use the "do" command. This is something I have used quite frequently in my HC days, but unfortunately use of the "do" command is severely restricted in standalones (with reasons I can understand). I was hoping that the reference operator @ would do the trick, i.e. passing the name of the variable instead of the variable itself. The following button handler works: --------------- on mouseUp put 1 into myVar doput "hello",myVar answer myVar end mouseUp on doput theText, at theVarName put theText into theVarName end doput ------------------ the following causes an execution error when trying to execute the doput handler ---------- on mouseUp put 1 into myVar doput "hello","myVar" answer myVar end mouseUp on doput theText, at theVarName put theText into theVarName end doput ---------- If something similar could be done without using the "do" command, for instance by passing arguments by name (i.e. a string), I would be very happy to hear about it. From hbaric at gmail.com Wed Aug 6 07:34:59 2008 From: hbaric at gmail.com (H Baric) Date: Wed, 6 Aug 2008 21:34:59 +1000 Subject: File Name in Field? References: <014501c8f7ad$5e5bb350$0a01010a@ANNIESPUTA> <4551672F-C878-4E0C-B06D-B11268EBB492@sosmartsoftware.com> Message-ID: <015801c8f7b8$774605e0$0a01010a@ANNIESPUTA> Aha! Okay, so I was kind of on the right track, in my straightforward non-functiony beginners script - that didn't work :( I tried to return item 2, 3... (oops) of all kinds of things, including "it" and it in variable, without realising you have to set the delimiter thing first. And -1 of course! Duh. Okay, great got it. Thanks once again Eric. Just send me a bill for your wonderful services :D Cheers, Heather ----- Original Message ----- From: "Eric Chatonet" To: "How to use Revolution" Sent: Wednesday, August 06, 2008 8:39 PM Subject: Re: File Name in Field? Heather, Le 6 ao?t 08 ? 12:15, H Baric a ?crit : > On opening a text file with the dialog, and displaying the contents > in a field: is there a way to retrieve just the filename? (so I can > put it in it's own field) local tFilePath, tFileName answer file "Choose a file:" if it <> empty then put it into tFilePath put FilePathToShortFileName(tFilePath) into tFileName etc. ---------------------------- function FilePathToShortFileName pPath set the itemDelimiter to slash return item -1 of pPath end FilePathToShortFileName Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Wed Aug 6 07:34:23 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Aug 2008 13:34:23 +0200 Subject: Creating variables In-Reply-To: <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> Message-ID: Hi Fran?ois, When a variable contains a reference to an object and you can't use the put command with that variable because it would change the variable rather than the object referred to, use the text property: set the text of myFieldReference to "some text" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 6 aug 2008, at 13:25, Fran?ois Chaplais wrote: > > Le 5 ao?t 08 ? 16:12, Eric Chatonet a ?crit : > >> Bonjour Eric, >> >> Le 6 juil. 08 ? 22:38, ?ric Miclo a ?crit : >> >>> repeat for each line lineListOne in listOne >>> repeat for each line lineListTwo in listTwo >>> put (lineListOne & lineListTwo) into varName >>> put "test" into varName >>> end repeat >>> end repeat >> >> put into tContents >> do "put tContents into" && varName >> >> Best regards from Paris, >> Eric Chatonet. >> > > a more general digression on manipulating rev object by names and > not by value: > > as far as I am concerned, it seems to me that, for instance, if > is the long name of a filed, if you want to put empty into > the field with name , then you have to script > do "put empty into" && > and then probably have to deal with the quotes in the long name (it > seems I have had to do this countless times when executing a loop on > object names in a group/card/whatever) > > The OP was concerned to setting a variable value when knowing only > its name, and Eric's answer was to use the "do" command. This is > something I have used quite frequently in my HC days, but > unfortunately use of the "do" command is severely restricted in > standalones (with reasons I can understand). > > I was hoping that the reference operator @ would do the trick, i.e. > passing the name of the variable instead of the variable itself. The > following button handler works: From runrev at animabit.de Wed Aug 6 07:39:18 2008 From: runrev at animabit.de (runrev at animabit.de) Date: Wed, 6 Aug 2008 11:39:18 +0000 Subject: Re-2: waiting time of shell() + open process + proxy authentication in runrev Message-ID: Mark S & Mark Sch Thank you. I got this advice using open process almost simultaneousely from the both Marks. Mark Schonewille added I should implement in runrev the protocol with an authenticated proxy instead of using shell - I tried but only had success in perl. I wrote this perl script, put it into a custom prop and replaced the $variables with the runrev variables with the same name before running it with perl -e. use strict; use LWP::UserAgent; use HTTP::Request::Common; my $ua = LWP::UserAgent->new; $ua->proxy(['http', 'ftp'], 'http://$proxyusername:$proxypasswort at proxyserver:8080/'); $ua->timeout(30);$ua->agent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"); $ua->agent("Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"); my $req = POST 'http://$servername/admin/aniupload.cgi', Content_Type => 'multipart/form-data', Content => [ pdftitel => '$dateiname', verzeichnis=>'$verzeichnis', filename => ['$quelldatei'] ]; $req->authorization_basic('$username', '$passwort'); $req->header('Accept' => 'text/plain'); my $response = $ua->request($req); if ($response->is_success) { print $response->content; } else { die $response->status_line; } I had successfully implemented all in runrev but not the line $ua->proxy(['http', 'ftp'], 'http://$proxyusername:$proxypasswort at proxyserver:8080/'); http://mail.runrev.com/pipermail/use-revolution/2008-April/109930.html (Answers to http://mail.runrev.com/pipermail/use-revolution/2008-April/109876.html) did not work for me. Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 Original Message processed by David InfoCenter Subject: Re: waiting time of shell() (06-Aug-2008 11:12) From: Mark Smith To: boehmisch at animabit.de Perhaps you could try using , something like: open process perlupload for read repeat wait 500 millisecs with messages read from process perlupload until empty put it into tResponse if "xyz" is in it then put it into tResponse exit repeat end if end repeat close process perlupload put tResponse From lan.kc.macmail at gmail.com Wed Aug 6 07:40:38 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Aug 2008 19:40:38 +0800 Subject: Sliders & Images In-Reply-To: <002701c8f7a6$aff993a0$0a01010a@ANNIESPUTA> References: <135034619121997738846112065757739318820-Webmail2@me.com> <0A62A711-1A1F-4A1C-8ADD-D35B3FDA5798@sosmartsoftware.com> <002701c8f7a6$aff993a0$0a01010a@ANNIESPUTA> Message-ID: On Wed, Aug 6, 2008 at 5:27 PM, H Baric wrote: > > Now Randy, your script here makes perfect sense to me as a beginner! Eric's > not so, but I want it to, so these two scripts I shall take away and learn > from! > You are doing extremely well to already have your head around switch statements. There are long timers on this List who still shy away from them. Whilst I would not deter you from learning from Eric's excellent example, let me offer one really nice feature you can take advantage of with the Switch statement; and that is the 'default' option. switch myColour case "red" redHandler break case "green" greenHandler break case "blue" blueHandler break --handy feature during development default answer "I haven't covered the " & myColour & " situation." titled "Switch Error" breakpoint end switch In this case if you have an option menu, or a dialog box, or whatever, with the three colour options and you decided to include all the colours of the rainbow, if you forget to change your switch statement, you will automatically be told, best of all if you have script debug mode turned on, once you press OK to the answer dialog box that popped up to tell you about the Switch error, the debugger will pop up and stop in the very Switch statement that is missing the extra options! So easy to then fix :-) Whilst I can normally remember to get the Switch statements sitting right there in an option menu, I've really come to like Switch statements and my scripts are now infested with them so I often forget some of the ramifications of adding additional options. Default picks it up EVERY time. My stacks are for me, so it doesn't matter if I leave these statements as is, especially since I'll probably add a new option 2 months down the track and completely forget again the ramifications that can have. On the other hand, when you've gone final, it's easy enough to do a global search for 'default' and remove what would be useless lines of code in a perfect product ;-) Keep up the Revolution. From eric.chatonet at sosmartsoftware.com Wed Aug 6 07:48:59 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 13:48:59 +0200 Subject: Creating variables In-Reply-To: <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> Message-ID: <415508CC-D35D-4758-B482-ED3E7EB7C3C3@sosmartsoftware.com> Bonjour Fran?ois, Le 6 ao?t 08 ? 13:25, Fran?ois Chaplais a ?crit : > as far as I am concerned, it seems to me that, for instance, if > is the long name of a filed, if you want to put empty into > the field with name , then you have to script > do "put empty into" && In Revolution, you can write: put the long ID of fld "MyField" into tObj put empty into tObj set the showBorder of tObj to true etc. As soon as you have put a long name/ID into a variable, you can use it without any 'do' :-) Secure and easy... Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From francois.chaplais at mines-paristech.fr Wed Aug 6 08:22:04 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 6 Aug 2008 14:22:04 +0200 Subject: Creating variables In-Reply-To: <415508CC-D35D-4758-B482-ED3E7EB7C3C3@sosmartsoftware.com> References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> <415508CC-D35D-4758-B482-ED3E7EB7C3C3@sosmartsoftware.com> Message-ID: Le 6 ao?t 08 ? 13:48, Eric Chatonet a ?crit : > put the long ID of fld "MyField" into tObj > put empty into tObj > set the showBorder of tObj to true I have tried this --------- on mouseUp put empty into fld 1 put the long ID of fld 1into tObj put "hello" into tObj --- does not work, tObj now contains "hello" end mouseUp ---------- and it does not work (field stays empty, script executes). However --------- on mouseUp put empty into fld 1 put the long ID of fld 1into tObj set the text of tObj to "hello"--- works end mouseUp ----------- works. Best regards, Fran?ois From hbaric at gmail.com Wed Aug 6 08:27:48 2008 From: hbaric at gmail.com (H Baric) Date: Wed, 6 Aug 2008 22:27:48 +1000 Subject: Sliders & Images References: <135034619121997738846112065757739318820-Webmail2@me.com><0A62A711-1A1F-4A1C-8ADD-D35B3FDA5798@sosmartsoftware.com><002701c8f7a6$aff993a0$0a01010a@ANNIESPUTA> Message-ID: <016f01c8f7bf$daca3bc0$0a01010a@ANNIESPUTA> Wow cool, thanks Kay! Let me tell you, from where I've been the last couple of years, to where I am now, being able to use my brain like this, when I didn't think I ever would again, receiving such kind encouragement from you guys is meaning an AWFUL lot :) Hehemm excuse my soppiness! And I'm just so excited to finally find a way of making one of my "great ideas that I've had for ages" a reality, and in way less time than I ever thought possible! Rev, along with such an amazing community and resources is making it so easy, and sooo enjoyable :) It's truly a Revolution for ME. I HATED school. But I LOVE learning and being creative. Rev Rox! Right well, back to study before I ramble too much more (at this time of night my messages get way too long and deep hehe). :) Cheers, Heather ----- Original Message ----- From: "Kay C Lan" To: "How to use Revolution" Sent: Wednesday, August 06, 2008 9:40 PM Subject: Re: Sliders & Images On Wed, Aug 6, 2008 at 5:27 PM, H Baric wrote: > > Now Randy, your script here makes perfect sense to me as a beginner! > Eric's > not so, but I want it to, so these two scripts I shall take away and learn > from! > You are doing extremely well to already have your head around switch statements. There are long timers on this List who still shy away from them. Whilst I would not deter you from learning from Eric's excellent example, let me offer one really nice feature you can take advantage of with the Switch statement; and that is the 'default' option. switch myColour case "red" redHandler break case "green" greenHandler break case "blue" blueHandler break --handy feature during development default answer "I haven't covered the " & myColour & " situation." titled "Switch Error" breakpoint end switch In this case if you have an option menu, or a dialog box, or whatever, with the three colour options and you decided to include all the colours of the rainbow, if you forget to change your switch statement, you will automatically be told, best of all if you have script debug mode turned on, once you press OK to the answer dialog box that popped up to tell you about the Switch error, the debugger will pop up and stop in the very Switch statement that is missing the extra options! So easy to then fix :-) Whilst I can normally remember to get the Switch statements sitting right there in an option menu, I've really come to like Switch statements and my scripts are now infested with them so I often forget some of the ramifications of adding additional options. Default picks it up EVERY time. My stacks are for me, so it doesn't matter if I leave these statements as is, especially since I'll probably add a new option 2 months down the track and completely forget again the ramifications that can have. On the other hand, when you've gone final, it's easy enough to do a global search for 'default' and remove what would be useless lines of code in a perfect product ;-) Keep up the Revolution. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From francois.chaplais at mines-paristech.fr Wed Aug 6 08:23:22 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 6 Aug 2008 14:23:22 +0200 Subject: Creating variables In-Reply-To: References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> Message-ID: Le 6 ao?t 08 ? 13:34, Mark Schonewille a ?crit : > Hi Fran?ois, > > When a variable contains a reference to an object and you can't use > the put command with that variable because it would change the > variable rather than the object referred to, use the text property: > > set the text of myFieldReference to "some text" > > thanks. indeed, ---------------- on mouseUp put the long name of fld 1 into myFldName ask "type text" set the text of fld myFldName to it end mouseUp ------------------------ works. this also works: ----------------------- on mouseUp put the long name of me into theName ask "what" set the myProp of theName to it end mouseUp ---------------------- works. If this can be generalized, does this mean that setting properties of objects referenced by name strings is possible in general? (I just read Eric's post, and it seems the answer is "yes"). However, this does not address the issue of the OP, which want to set the value of variable referenced by name. "value" is a function and not a property (is this right?), so it does not do the trick. Best regards, Fran?ois From eric.chatonet at sosmartsoftware.com Wed Aug 6 08:26:57 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 14:26:57 +0200 Subject: Creating variables In-Reply-To: References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> <415508CC-D35D-4758-B482-ED3E7EB7C3C3@sosmartsoftware.com> Message-ID: I'm sorry, I was a bit quick: all this works when getting/setting properties only: put the long ID of fld "MyField" into tObj set the text of tObj to empty Le 6 ao?t 08 ? 14:22, Fran?ois Chaplais a ?crit : > Le 6 ao?t 08 ? 13:48, Eric Chatonet a ?crit : > >> put the long ID of fld "MyField" into tObj >> put empty into tObj >> set the showBorder of tObj to true > > I have tried this > --------- > on mouseUp > put empty into fld 1 > put the long ID of fld 1into tObj > put "hello" into tObj --- does not work, tObj now contains "hello" > end mouseUp > ---------- > and it does not work (field stays empty, script executes). However > --------- > on mouseUp > put empty into fld 1 > put the long ID of fld 1into tObj > set the text of tObj to "hello"--- works > end mouseUp > ----------- > works. > > Best regards, > Fran?ois Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From hbaric at gmail.com Wed Aug 6 09:02:59 2008 From: hbaric at gmail.com (H Baric) Date: Wed, 6 Aug 2008 23:02:59 +1000 Subject: OOPS! Can't Undo Deleted Objects Message-ID: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> My mouse cursor wasn't where it was supposed to be (the search field in the dictionary), but on a button which I was in the middle of writing a script for, and I hit the delete key. The script editor has sprung a "close or copy & close" on me, so I copied and closed. My UNDO won't play, and I can't get the object back. Sure, I can redo the object and paste in the script again. But why is it that I can't get objects back when I accidently delete them? I had to ask, because I lost a whole group earlier (AHHHH NOOO) and when it was clear they weren't returning from the grave, I just abandoned it all with the mega grrrrr's. ? Cheers, Heather From dfepstein at comcast.net Wed Aug 6 09:14:34 2008 From: dfepstein at comcast.net (dfepstein at comcast.net) Date: Wed, 06 Aug 2008 13:14:34 +0000 Subject: Does Palette command work? Message-ID: <080620081314.7370.4899A3BA000BED7200001CCA220702157302070A9B9C9F0A000B@comcast.net> Using Rev Media 2.9 in Windows XP palette stack "a" -- no effect go stack "a" as palette -- works correctly Do others experience this? David Epstein From francois.chaplais at mines-paristech.fr Wed Aug 6 09:41:08 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 6 Aug 2008 15:41:08 +0200 Subject: Creating variables In-Reply-To: References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> <415508CC-D35D-4758-B482-ED3E7EB7C3C3@sosmartsoftware.com> Message-ID: Le 6 ao?t 08 ? 14:26, Eric Chatonet a ?crit : > I'm sorry, I was a bit quick: all this works when getting/setting > properties only: > > put the long ID of fld "MyField" into tObj > set the text of tObj to empty > > I think I have found a workaround for working with "variables" referenced by names. It involves custom property sets. These can be referenced by name. Here is an button script example: on mouseUp ask "Custom property set?" with "example" if it is empty then exit mouseup end if put it into theName set the customPropertySet of me to theName put the customproperties[thename] of me into myProps -- creation of variable by asking name; can be replaced by anything that returns a string ask "Name of pseudo variable:" with "anExample" put it into varName if varName is empty then exit mouseup end if -- assigning value of "variable" anything will do, I think, since this is a custom property ask "value of variable" && varName -- put your code here if it is empty then exit mouseup end if put it into myProps[varName] set customproperties[thename] of me to myProps -- value is set answer "Do you want to retrieve the value of your variable?" with "Cancel" or "OK" if it is "OK" then -- retrieve variable value put the customproperties[thename] of me into myProps get myProps[varName] answer "This is the value of variable" && varName & ":" && it end if end mouseUp I think this can be made pretty generic and split into several independent handlers/functions. Moreover the variables can be accessed globally and are stored in the stack file upon save. haven't tried in in a standalone for the moment, though. Best regards, Fran?ois From bdrunrev at gmail.com Wed Aug 6 10:04:14 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 6 Aug 2008 15:04:14 +0100 Subject: engine crash on open stack In-Reply-To: <489943DF.3020206@rmg.net> References: <489943DF.3020206@rmg.net> Message-ID: The stack file format changed in 2.7. That shouldn't cause the engine to crash the engine (but who knows, I can make it crash doing very simple things that shouldn't crash it). Is it possible that you can open the stack in a version of Rev that is pre-2.7? If that works, then it looks like that may be the cause of the problem. Bernard From janschenkel at yahoo.com Wed Aug 6 10:17:58 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 6 Aug 2008 07:17:58 -0700 (PDT) Subject: Does Palette command work? In-Reply-To: <080620081314.7370.4899A3BA000BED7200001CCA220702157302070A9B9C9F0A000B@comcast.net> Message-ID: <193570.34739.qm@web65415.mail.ac4.yahoo.com> --- dfepstein at comcast.net wrote: > Using Rev Media 2.9 in Windows XP > > palette stack "a" -- no effect > go stack "a" as palette -- works correctly > > Do others experience this? > > David Epstein > Hi David, That's one of the built-in limitations of Rev Media, along with database access and a few other things - which makes sense not only to justify the price difference and promote upgrading to Rev Studio. Remember that Rev Media is meant as an authoring tool rather than a full-blown developer tool. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From dgirard at dam-pro.com Wed Aug 6 10:19:30 2008 From: dgirard at dam-pro.com (Girard Damien) Date: Wed, 06 Aug 2008 16:19:30 +0200 Subject: [ANN] NativeSpeak 2008 - Free starter kit edition ! Message-ID: <4899B2F2.2090503@dam-pro.com> Dear Revolution users, We are pleased to announce NativeSpeak 2008, with a FREE "Starter Kit" Edition. Now you can try out this brand new RevSelect program for yourself and see how easy it is to make great looking localized applications. New in NativeSpeak 2008: - -Free "Starter Kit Edition" - - All features available for you to try - - Even distribute your own applications! Also - Improved speed and reliability. - Other enhancements and bug fixes. ----------------------------------- NativeSpeak Starter Kit Edition --- ----------------------------------- The Starter Kit Edition is a free edition of NativeSpeak, with it you can use the complete power of NativeSpeak inside simple applications for free. Compare your program created using NativeSpeak, with one made without its help, and see how much more professional it looks, and how much time you save! To use the Starter Kit Edition, simply download NativeSpeak 2008: http://dam-pro.com/index.php?option=com_content&view=article&id=21&Itemid=32 and in the license manager select "Starter Kit Edition". NativeSpeak Starter Kit Edition: - Create little application that use the incredible NativeSpeak Translation/Geometry Manager! - Limitations: - - 15 objects by database. - - 15 text string "Skip" by database. - - 2 databases can be loaded in the same time. Regards, -- Damien Girard Dam-pro CEO. http://www.dam-pro.com From klaus at major-k.de Wed Aug 6 10:29:54 2008 From: klaus at major-k.de (Klaus Major) Date: Wed, 6 Aug 2008 16:29:54 +0200 Subject: Does Palette command work? In-Reply-To: <193570.34739.qm@web65415.mail.ac4.yahoo.com> References: <193570.34739.qm@web65415.mail.ac4.yahoo.com> Message-ID: <1A304D1B-F63F-4DA5-9552-6132F5F06E01@major-k.de> Hi Jan > --- dfepstein at comcast.net wrote: >> Using Rev Media 2.9 in Windows XP >> palette stack "a" -- no effect >> go stack "a" as palette -- works correctly >> Do others experience this? >> David Epstein >> > Hi David, > That's one of the built-in limitations of Rev Media, OK, but if: -> palette stack "a" does not work in Rev Media and -> go stack "a" as palette DOES work, then this is a halfbaked and useless limitation (or none at all) in my opinion :-) > along with database access and a few other things - > which makes sense not only to justify the price > difference and promote upgrading to Rev Studio. > Remember that Rev Media is meant as an authoring tool > rather than a full-blown developer tool. > > Jan Schenkel. > > Quartam Reports & PDF Library for Revolution > Regards Klaus Major klaus at major-k.de http://www.major-k.de From eric.chatonet at sosmartsoftware.com Wed Aug 6 10:53:39 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 16:53:39 +0200 Subject: Creating variables In-Reply-To: References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> <415508CC-D35D-4758-B482-ED3E7EB7C3C3@sosmartsoftware.com> Message-ID: To be frank, I don't understand: Below is your code snippet simplified. What it does? It stores a variable into a custom property: so far so good ;-) But what more? Please, enlighten me :-) on mouseUp ask "Name of pseudo variable:" with "anExample" if it is empty then exit mouseUp put it into varName ask "value of variable" && varName if it is empty then exit mouseUp put it into varValue set the myProps[varName] of me to varValue answer "Do you want to retrieve the value of your variable?" with "Cancel" or "OK" if it is "OK" then answer "This is the value of variable" && varName & ":" && the myProps[varName] of me end if end mouseUp Le 6 ao?t 08 ? 15:41, Fran?ois Chaplais a ?crit : > I think I have found a workaround for working with "variables" > referenced by names. It involves custom property sets. These can be > referenced by name. Here is an button script example: > > on mouseUp > ask "Custom property set?" with "example" > if it is empty then > exit mouseup > end if > put it into theName > set the customPropertySet of me to theName > put the customproperties[thename] of me into myProps > -- creation of variable by asking name; can be replaced by > anything that returns a string > ask "Name of pseudo variable:" with "anExample" > put it into varName > if varName is empty then > exit mouseup > end if > -- assigning value of "variable" anything will do, I think, since > this is a custom property > ask "value of variable" && varName -- put your code here > if it is empty then > exit mouseup > end if > put it into myProps[varName] > set customproperties[thename] of me to myProps -- value is set > answer "Do you want to retrieve the value of your variable?" with > "Cancel" or "OK" > if it is "OK" then -- retrieve variable value > put the customproperties[thename] of me into myProps > get myProps[varName] > answer "This is the value of variable" && varName & ":" && it > end if > end mouseUp > > I think this can be made pretty generic and split into several > independent handlers/functions. Moreover the variables can be > accessed globally and are stored in the stack file upon save. > haven't tried in in a standalone for the moment, though. > > Best regards, > Fran?ois Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From ambassador at fourthworld.com Wed Aug 6 10:56:57 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 06 Aug 2008 07:56:57 -0700 Subject: Creating variables Message-ID: <4899BBB9.8090708@fourthworld.com> Eric Chatonet wrote: > In Revolution, you can write: > > put the long ID of fld "MyField" into tObj > put empty into tObj > set the showBorder of tObj to true > etc. > > As soon as you have put a long name/ID into a variable, you can use > it without any 'do' :-) > Secure and easy... ...and fast. In Rev, scripts are runtime-compiled, so you'll generally see some amazing speed with most operations. But "do" and "send" can't be compiled on load like everything else, since the strings they operate on need to be assembled at runtime. As a result, "do" and "send" will run more slowly than compilable alternatives like the example Eric noted above. Fran?ois Chaplais wrote: > I think I have found a workaround for working with "variables" > referenced by names. It involves custom property sets. > Moreover the variables can be accessed globally and are stored in > the stack file upon save. haven't tried in in a standalone for the > moment, though. The OS prevents applications from modifying themselves, so any modifiable data that you want to save will need to be stored separately from the stack file that becomes the standalone. For good info on saving data in standalones check out this article at revJournal.com: Saving data in Revolution standalones by Sarah Reichelt -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From lan.kc.macmail at gmail.com Wed Aug 6 10:58:18 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 6 Aug 2008 22:58:18 +0800 Subject: OOPS! Can't Undo Deleted Objects In-Reply-To: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> Message-ID: On Wed, Aug 6, 2008 at 9:02 PM, H Baric wrote: > My UNDO won't play, and I can't get the object back. > Sorry, can't help you with resurrection, at least not the type you're asking about, but just in case you aren't aware: Rev Menu --> Development --> Plugins --> revSmartSave. Authored by the famous Frederic Rinaldi, it might provide a little insurance should the unfortunate happen again. Remember though that if you set the number too low (< 30 sec) it will probably save before you have time to Revert back to prior the accidental deletion. Personally I just manually save save save as I go, and if the unfortunate should happen and Undo doesn't work, it's a simple matter of Revert and 30 sec of work has been wasted. For the record, normally you can place objects, delete them, Undo, and they will come back. Not sure why it didn't work in this instance:-( HTH From mikeythek at gmail.com Wed Aug 6 11:00:45 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 6 Aug 2008 11:00:45 -0400 Subject: OOPS! Can't Undo Deleted Objects In-Reply-To: References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> Message-ID: <9b408d8e0808060800r1d252389vf3ddf5f8fe4fdcb9@mail.gmail.com> I believe GLX2 also archives versions. From david at openpartnership.net Wed Aug 6 11:04:05 2008 From: david at openpartnership.net (David Bovill) Date: Wed, 6 Aug 2008 16:04:05 +0100 Subject: sqlite: text dump Message-ID: Is there a fast way to write out revs sqlite db to a text file. I need to create a regularly versioned database - that is an index which relates to the contents of data in a subversion repository. I'd rather not use binaries as they would over time require too much storage. The idea would be to do a quick text based dump of the database on each commit. Is this possible / fast enough in revs sqlite?* Context* I'm finishing off a code database for RunRev and need to store indexes that point to the controls that the handlers are in. The code is stored as text files for each control, and the indexes need point to these and keep track as the code is moved around during development - so the index / database would differ for each revision (ie revision 678 would differ from from revision 679 and so would the index / database). From mikeythek at gmail.com Wed Aug 6 11:07:26 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 6 Aug 2008 11:07:26 -0400 Subject: OOPS! Can't Undo Deleted Objects In-Reply-To: <9b408d8e0808060800r1d252389vf3ddf5f8fe4fdcb9@mail.gmail.com> References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> <9b408d8e0808060800r1d252389vf3ddf5f8fe4fdcb9@mail.gmail.com> Message-ID: <9b408d8e0808060807v8e19e5ud0e8a5a9a63bd76f@mail.gmail.com> By the way, is there some place where these plugins are documented? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From hbaric at gmail.com Wed Aug 6 11:17:36 2008 From: hbaric at gmail.com (H Baric) Date: Thu, 7 Aug 2008 01:17:36 +1000 Subject: HTML Color Codes Message-ID: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> Last one before I jump into bed and thaw out after sitting at a computer for hours... I was wondering how to translate the RGB names to the HTML equivalent when user selects color with the Color Dialog. For such use as with a html page generator. If it doesn't exist already (though surely it's been done before, and I just can't find it): am I on the right track thinking that an array would be used to hold both code sets, then a function returns the html equivalent rather than the RGB? Or something! Though I know hardly anything about arrays, never used them - only very vaguely know what they are and what they do. Kind of. As I'm off to bed, I'll read up on them, then doze off to the sound of a script typewriter clacking in my Rev-Brainwashed noggin. :D Tia and Goodnight til Oz morn! Cheers, Heather From hbaric at gmail.com Wed Aug 6 11:20:56 2008 From: hbaric at gmail.com (H Baric) Date: Thu, 7 Aug 2008 01:20:56 +1000 Subject: OOPS! Can't Undo Deleted Objects References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> Message-ID: <020501c8f7d8$08659210$0a01010a@ANNIESPUTA> Thanks! I'll certainly check it out. Though I'm normally a fanatic saver as I goer too, as I do a bit of graphic and (basic) web design. An auto save of sorts would be handy if this keeps happening! Cheers, Heather ----- Original Message ----- From: "Kay C Lan" To: "How to use Revolution" Sent: Thursday, August 07, 2008 12:58 AM Subject: Re: OOPS! Can't Undo Deleted Objects On Wed, Aug 6, 2008 at 9:02 PM, H Baric wrote: > My UNDO won't play, and I can't get the object back. > Sorry, can't help you with resurrection, at least not the type you're asking about, but just in case you aren't aware: Rev Menu --> Development --> Plugins --> revSmartSave. Authored by the famous Frederic Rinaldi, it might provide a little insurance should the unfortunate happen again. Remember though that if you set the number too low (< 30 sec) it will probably save before you have time to Revert back to prior the accidental deletion. Personally I just manually save save save as I go, and if the unfortunate should happen and Undo doesn't work, it's a simple matter of Revert and 30 sec of work has been wasted. For the record, normally you can place objects, delete them, Undo, and they will come back. Not sure why it didn't work in this instance:-( HTH _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From hbaric at gmail.com Wed Aug 6 11:22:05 2008 From: hbaric at gmail.com (H Baric) Date: Thu, 7 Aug 2008 01:22:05 +1000 Subject: OOPS! Can't Undo Deleted Objects References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> <9b408d8e0808060800r1d252389vf3ddf5f8fe4fdcb9@mail.gmail.com> Message-ID: <020a01c8f7d8$311f9890$0a01010a@ANNIESPUTA> Thanks Mikey! Cheers, Heather ----- Original Message ----- From: "Mikey" To: "How to use Revolution" Sent: Thursday, August 07, 2008 1:00 AM Subject: Re: OOPS! Can't Undo Deleted Objects I believe GLX2 also archives versions. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From eric.chatonet at sosmartsoftware.com Wed Aug 6 11:27:38 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 17:27:38 +0200 Subject: HTML Color Codes In-Reply-To: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> References: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> Message-ID: <1ED9E66B-5574-4962-918F-2E8709C36743@sosmartsoftware.com> If you would have searched for 'color' or 'rgb' using the Rev Search Engine Web database, you would have found: http://www.sweattechnologies.com/rev/ And Monte Goulding excellent library: libColor :-) Le 6 ao?t 08 ? 17:17, H Baric a ?crit : > I was wondering how to translate the RGB names to the HTML > equivalent when user selects color with the Color Dialog. For such > use as with a html page generator. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From mikeythek at gmail.com Wed Aug 6 11:41:23 2008 From: mikeythek at gmail.com (Mikey) Date: Wed, 6 Aug 2008 11:41:23 -0400 Subject: OOPS! Can't Undo Deleted Objects In-Reply-To: <020a01c8f7d8$311f9890$0a01010a@ANNIESPUTA> References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> <9b408d8e0808060800r1d252389vf3ddf5f8fe4fdcb9@mail.gmail.com> <020a01c8f7d8$311f9890$0a01010a@ANNIESPUTA> Message-ID: <9b408d8e0808060841k61582c4dy97179f6b10abb6c@mail.gmail.com> Don't thank me yet. Check first. If I'm right, the advantage of GLX2 is that it archives your stacks in their current state, which is (to me anyway) more valuable than just saving them periodically. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From francois.chaplais at mines-paristech.fr Wed Aug 6 12:07:09 2008 From: francois.chaplais at mines-paristech.fr (=?ISO-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 6 Aug 2008 18:07:09 +0200 Subject: Creating variables In-Reply-To: References: <88C19435-0CDA-4F86-8922-2570EB632D7C@ac-strasbourg.fr> <53F3C17E-BDD5-4FC5-8EE3-8BD45D6A78E7@mines-paristech.fr> <415508CC-D35D-4758-B482-ED3E7EB7C3C3@sosmartsoftware.com> Message-ID: Le 6 ao?t 08 ? 16:53, Eric Chatonet a ?crit : > To be frank, I don't understand: > Below is your code snippet simplified. > What it does? > It stores a variable into a custom property: so far so good ;-) > But what more? > Please, enlighten me :-) > > on mouseUp > ask "Name of pseudo variable:" with "anExample" > if it is empty then exit mouseUp > put it into varName > ask "value of variable" && varName > if it is empty then exit mouseUp > put it into varValue > set the myProps[varName] of me to varValue > answer "Do you want to retrieve the value of your variable?" > with "Cancel" or "OK" > if it is "OK" then > answer "This is the value of variable" && varName & ":" && > the myProps[varName] of me > end if > end mouseUp > > the OP's code was > I did try this: > > repeat for each line lineListOne in listOne > repeat for each line lineListTwo in listTwo > put "test" into (lineListOne & lineListTwo) > end repeat > end repeat > > and this (though I was sure it didn't work): > > repeat for each line lineListOne in listOne > repeat for each line lineListTwo in listTwo > put (lineListOne & lineListTwo) into varName > put "test" into varName > end repeat > end repeat > > and some other variants (using the value of...) but nothing is > working. > > Is that possible or do I have to "manually" initialize the > variables that way: > > put "test" into A1 > put "test" into A2 I interpreted this code as an attempt to manipulate a variable designated by name only . I have not found a way to do so without using the "do" command, which you rightfully pointed out as a solution (but perhaps someone in the list knows of another way). My only point is that custom properties are a way to store and retrieve data labeled with a string which is itself stored in a variable. It is probable that arrays would also do the trick, but I do not know arrays enough to elaborate on this. My apologies if I am not very clear, but Revolution programming is just a hobby to me and since I am on vacation, I have some time to experiment some code, this should be over next week :-( Best regards, Fran?ois From bdrunrev at gmail.com Wed Aug 6 12:12:39 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Wed, 6 Aug 2008 17:12:39 +0100 Subject: Are crash reports useful Message-ID: Since using Rev on Vista in the past few months I manage to crash the IDE almost every day, sometimes up to 4 times a day. It's hard to say what it is that is causing the crash. Sometimes just working with the debugger (either GLX2 or the Rev native one), and clicking on a line or scrolling or moving the mouse will cause the crash. Are these kinds of crash reports of any use? Problem signature: Problem Event Name: APPCRASH Application Name: Revolution.exe Application Version: 2.9.0.610 Application Timestamp: 47f4e195 Fault Module Name: ntdll.dll Fault Module Version: 6.0.6000.16386 Fault Module Timestamp: 4549bdc9 Exception Code: c0000005 Exception Offset: 000620e3 OS Version: 6.0.6000.2.0.0.768.3 Locale ID: 2057 Additional Information 1: 7a27 Additional Information 2: 16640c7e27f99d414fc9152a5811d877 Additional Information 3: 7917 Additional Information 4: af727dc1fb4fc0b77ddd4f47eaa24864 Bernard From m.schonewille at economy-x-talk.com Wed Aug 6 12:48:41 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Aug 2008 18:48:41 +0200 Subject: Are crash reports useful In-Reply-To: References: Message-ID: <324FC9C4-A805-4E6E-839C-D9F3C3686587@economy-x-talk.com> Hi Bernard, I'd just report all crashes. If you think that they are similar or if you just can't find any pattern at all, you can report them all under the same bug number. If you find a reason for a crash, you can report it under a separate bug number. You might want to send this kind of questions to support. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 6 aug 2008, at 18:12, Bernard Devlin wrote: > Since using Rev on Vista in the past few months I manage to crash > the IDE > almost every day, sometimes up to 4 times a day. It's hard to say > what it > is that is causing the crash. Sometimes just working with the > debugger > (either GLX2 or the Rev native one), and clicking on a line or > scrolling or > moving the mouse will cause the crash. Are these kinds of crash > reports of > any use? > > Problem signature: > Problem Event Name: APPCRASH > Application Name: Revolution.exe > Application Version: 2.9.0.610 > Application Timestamp: 47f4e195 > Fault Module Name: ntdll.dll > Fault Module Version: 6.0.6000.16386 > Fault Module Timestamp: 4549bdc9 > Exception Code: c0000005 > Exception Offset: 000620e3 > OS Version: 6.0.6000.2.0.0.768.3 > Locale ID: 2057 > Additional Information 1: 7a27 > Additional Information 2: 16640c7e27f99d414fc9152a5811d877 > Additional Information 3: 7917 > Additional Information 4: af727dc1fb4fc0b77ddd4f47eaa24864 > > Bernard From mwieder at ahsoftware.net Wed Aug 6 12:50:08 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Aug 2008 09:50:08 -0700 Subject: HTML Color Codes In-Reply-To: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> References: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> Message-ID: <192141077296.20080806095008@ahsoftware.net> Heather- Wednesday, August 6, 2008, 8:17:36 AM, you wrote: > I was wondering how to translate the RGB names to the HTML > equivalent when user selects color with the Color Dialog. For such > use as with a html page generator. ...I'd point you towards Eric's own Color Picker plugin, which you can find at http://www.sosmartsoftware.com/?r=revolution&l=en -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Wed Aug 6 13:27:51 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Aug 2008 12:27:51 -0500 Subject: Are crash reports useful In-Reply-To: References: Message-ID: <4899DF17.8000206@hyperactivesw.com> Bernard Devlin wrote: > Since using Rev on Vista in the past few months I manage to crash the IDE > almost every day, sometimes up to 4 times a day. It's hard to say what it > is that is causing the crash. Sometimes just working with the debugger > (either GLX2 or the Rev native one), and clicking on a line or scrolling or > moving the mouse will cause the crash. Are these kinds of crash reports of > any use? > > Problem signature: > Problem Event Name: APPCRASH > Application Name: Revolution.exe > Application Version: 2.9.0.610 > Application Timestamp: 47f4e195 > Fault Module Name: ntdll.dll > Fault Module Version: 6.0.6000.16386 > Fault Module Timestamp: 4549bdc9 > Exception Code: c0000005 > Exception Offset: 000620e3 > OS Version: 6.0.6000.2.0.0.768.3 > Locale ID: 2057 > Additional Information 1: 7a27 > Additional Information 2: 16640c7e27f99d414fc9152a5811d877 > Additional Information 3: 7917 > Additional Information 4: af727dc1fb4fc0b77ddd4f47eaa24864 > Better is to follow these instructions: *** There is a new preference in the General pane of the Revolution Preference dialog called 'Crash reporting on Windows XP'. This determines the type of crash log written out when the engine encounters a serious error (if it is running on Windows XP). The setting of 'None' causes no log to be generated, the setting of 'Small' causes an outline crash log to be generated and the setting of 'Medium' causes a more verbose and larger crash log to be generated. Any crash logs generated when this option is not set to 'None' can be found in the folder: Documents and Settings//Application Data/Runtime Revolution/Revolution /Crash Logs They are named with the version and time and date of launch of the IDE which eventually crashed. The setting of this preference only take effect the next time you startup the IDE. *** Although it says "XP" I believe the reports also work on Vista. The location of the log on Vista should be in /AppData. Create a bug report in the QCC and paste the log info into it. That will help the team track down the cause. Please do submit a bug report, as crashes get top priority. Set the status of your report as "critical". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eric.chatonet at sosmartsoftware.com Wed Aug 6 13:45:43 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 19:45:43 +0200 Subject: Are crash reports useful In-Reply-To: <4899DF17.8000206@hyperactivesw.com> References: <4899DF17.8000206@hyperactivesw.com> Message-ID: Bonsoir Jacque, All you say is relevant as usual :-) But I would add (because I discussed some times ago with Mark Waddingham) that these extended Win logs are not readable by us, poor humans, but by Runrev only. So, it's a bit frustrating to make the effort to send something you absolutely don't understand. Some header in clear would help... and not feel as we were guinea pigs only ;-) The result: a few crash reports are finally sent. Le 6 ao?t 08 ? 19:27, J. Landman Gay a ?crit : > Bernard Devlin wrote: >> Since using Rev on Vista in the past few months I manage to crash >> the IDE >> almost every day, sometimes up to 4 times a day. It's hard to say >> what it >> is that is causing the crash. Sometimes just working with the >> debugger >> (either GLX2 or the Rev native one), and clicking on a line or >> scrolling or >> moving the mouse will cause the crash. Are these kinds of crash >> reports of >> any use? >> Problem signature: >> Problem Event Name: APPCRASH >> Application Name: Revolution.exe >> Application Version: 2.9.0.610 >> Application Timestamp: 47f4e195 >> Fault Module Name: ntdll.dll >> Fault Module Version: 6.0.6000.16386 >> Fault Module Timestamp: 4549bdc9 >> Exception Code: c0000005 >> Exception Offset: 000620e3 >> OS Version: 6.0.6000.2.0.0.768.3 >> Locale ID: 2057 >> Additional Information 1: 7a27 >> Additional Information 2: 16640c7e27f99d414fc9152a5811d877 >> Additional Information 3: 7917 >> Additional Information 4: af727dc1fb4fc0b77ddd4f47eaa24864 > > Better is to follow these instructions: > > *** > There is a new preference in the General pane of the Revolution > Preference dialog called 'Crash reporting on Windows XP'. This > determines the type of crash log written out when the engine > encounters a serious error (if it is running on Windows XP). The > setting of 'None' causes no log to be generated, the setting of > 'Small' causes an outline crash log to be generated and the setting > of 'Medium' causes a more verbose and larger crash log to be > generated. > > Any crash logs generated when this option is not set to 'None' can > be found in the folder: > Documents and Settings//Application Data/Runtime > Revolution/Revolution /Crash Logs > > They are named with the version and time and date of launch of the > IDE which eventually crashed. > > The setting of this preference only take effect the next time you > startup the IDE. > *** > > Although it says "XP" I believe the reports also work on Vista. The > location of the log on Vista should be in /AppData. > Create a bug report in the QCC and paste the log info into it. That > will help the team track down the cause. Please do submit a bug > report, as crashes get top priority. Set the status of your report > as "critical". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Wed Aug 6 13:54:02 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 6 Aug 2008 19:54:02 +0200 Subject: Are crash reports useful In-Reply-To: References: <4899DF17.8000206@hyperactivesw.com> Message-ID: <57C07AC7-4E87-4ADC-B0D0-B0ECFA6150AC@economy-x-talk.com> I have to agree with Eric. Not just because I can't read those logs, but I can't check whether there is no information in those logs that shouldn't leave my computer, e.g. with regard to any confidential projects. If I can't see what I send into the public (the QCC is public) I'd rather not send it at all. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 6 aug 2008, at 19:45, Eric Chatonet wrote: > Bonsoir Jacque, > > All you say is relevant as usual :-) > But I would add (because I discussed some times ago with Mark > Waddingham) that these extended Win logs are not readable by us, > poor humans, but by Runrev only. > So, it's a bit frustrating to make the effort to send something you > absolutely don't understand. > Some header in clear would help... and not feel as we were guinea > pigs only ;-) > The result: a few crash reports are finally sent. From eric.chatonet at sosmartsoftware.com Wed Aug 6 14:06:38 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 20:06:38 +0200 Subject: Are crash reports useful In-Reply-To: <57C07AC7-4E87-4ADC-B0D0-B0ECFA6150AC@economy-x-talk.com> References: <4899DF17.8000206@hyperactivesw.com> <57C07AC7-4E87-4ADC-B0D0-B0ECFA6150AC@economy-x-talk.com> Message-ID: I give Runrev credit for not being interested in the code itself but in solving bugs only :-) But it does not change anything to what we said both of us. Le 6 ao?t 08 ? 19:54, Mark Schonewille a ?crit : > I have to agree with Eric. Not just because I can't read those > logs, but I can't check whether there is no information in those > logs that shouldn't leave my computer, e.g. with regard to any > confidential projects. If I can't see what I send into the public > (the QCC is public) I'd rather not send it at all. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x- > talk.com/server.html for more info. > > On 6 aug 2008, at 19:45, Eric Chatonet wrote: > >> Bonsoir Jacque, >> >> All you say is relevant as usual :-) >> But I would add (because I discussed some times ago with Mark >> Waddingham) that these extended Win logs are not readable by us, >> poor humans, but by Runrev only. >> So, it's a bit frustrating to make the effort to send something >> you absolutely don't understand. >> Some header in clear would help... and not feel as we were guinea >> pigs only ;-) >> The result: a few crash reports are finally sent. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From jacque at hyperactivesw.com Wed Aug 6 14:48:57 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Aug 2008 13:48:57 -0500 Subject: Are crash reports useful In-Reply-To: References: <4899DF17.8000206@hyperactivesw.com> Message-ID: <4899F219.3040908@hyperactivesw.com> Eric Chatonet wrote: > Bonsoir Jacque, > > All you say is relevant as usual :-) > But I would add (because I discussed some times ago with Mark > Waddingham) that these extended Win logs are not readable by us, poor > humans, but by Runrev only. > So, it's a bit frustrating to make the effort to send something you > absolutely don't understand. > Some header in clear would help... and not feel as we were guinea pigs > only ;-) > The result: a few crash reports are finally sent. True. But I think if that's what RR needs to diagnose the crash, then we need to send it. If we do not, Mark won't have the info he needs to work on the problem. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eric.chatonet at sosmartsoftware.com Wed Aug 6 15:57:51 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Wed, 6 Aug 2008 21:57:51 +0200 Subject: Are crash reports useful In-Reply-To: <4899F219.3040908@hyperactivesw.com> References: <4899DF17.8000206@hyperactivesw.com> <4899F219.3040908@hyperactivesw.com> Message-ID: <2BA7347F-46F8-41DA-B393-B43DFBD0B6A4@sosmartsoftware.com> Dear Jacque, I don't want to enter into a debate but... These logs are encrypted: If I trust Runrev as they trust me *, there is no need to encrypt anything. If it's encrypted (as said Mark S.), I'm right to ask me questions ;-) In addition, I'll add that, AFAIK, only advanced users are able to know where these logs are and send them to Runrev: So why so much secret? I let you report this thread to Mark W. ;-) * I could have put anything I wanted in the Rev Search Engine, including any url leading to any website. Of course I never did it: Runrev trusted me and I trust them :-) Le 6 ao?t 08 ? 20:48, J. Landman Gay a ?crit : > Eric Chatonet wrote: >> Bonsoir Jacque, >> All you say is relevant as usual :-) >> But I would add (because I discussed some times ago with Mark >> Waddingham) that these extended Win logs are not readable by us, >> poor humans, but by Runrev only. >> So, it's a bit frustrating to make the effort to send something >> you absolutely don't understand. >> Some header in clear would help... and not feel as we were guinea >> pigs only ;-) >> The result: a few crash reports are finally sent. > > True. But I think if that's what RR needs to diagnose the crash, > then we need to send it. If we do not, Mark won't have the info he > needs to work on the problem. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From jacque at hyperactivesw.com Wed Aug 6 16:20:36 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Aug 2008 15:20:36 -0500 Subject: Are crash reports useful In-Reply-To: <2BA7347F-46F8-41DA-B393-B43DFBD0B6A4@sosmartsoftware.com> References: <4899DF17.8000206@hyperactivesw.com> <4899F219.3040908@hyperactivesw.com> <2BA7347F-46F8-41DA-B393-B43DFBD0B6A4@sosmartsoftware.com> Message-ID: <489A0794.5050402@hyperactivesw.com> Eric Chatonet wrote: > Dear Jacque, > > I don't want to enter into a debate but... Nope, me either. > These logs are encrypted: > If I trust Runrev as they trust me *, there is no need to encrypt anything. > If it's encrypted (as said Mark S.), I'm right to ask me questions ;-) I didn't know RR encrypted them, I always thought they were in the form provided by the OS. I guess we'll have to find out. > > In addition, I'll add that, AFAIK, only advanced users are able to know > where these logs are and send them to Runrev: > So why so much secret? It isn't particularly secret, the text I quoted was from the engine change log a few versions back. I think it was 2.7, but I don't remember which version exactly because I copied it to a stack I use when answering questions in the tech support queue. I give out that info all the time to customers, because Mark has told me that those logs are the best way for him to diagnose crashes. > > I let you report this thread to Mark W. ;-) Ok. > > * I could have put anything I wanted in the Rev Search Engine, including > any url leading to any website. > Of course I never did it: Runrev trusted me and I trust them :-) I don't think they are trying to be sneaky. I'll try to find out who is encrypting the log though. I really did think it was from the OS, but I never paid it very much attention. I have no reason to think that RR would be interested in anyone's private information. They have always been very discrete with any sample stacks customers submit. Everything sent to support is always treated as extremely confidential. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mfstuart at cox.net Wed Aug 6 20:17:35 2008 From: mfstuart at cox.net (mfstuart) Date: Wed, 6 Aug 2008 17:17:35 -0700 (PDT) Subject: Removing CRLF from text Message-ID: <18862004.post@talk.nabble.com> Hi, RunRev: 2.90 OS: WinXP I have a situation where a software application's ini file has the plus (+) char and CRLF at the end of a line, when the line passes 80 characters. The balance of the ini entry is placed on the next line. Each ini entry could be very long and possibly go to 3 lines. Why they did this I don't know, really. But what I need to do is remove the + and CRLF so that each ini entry is complete in itself, on one line. ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh I've used this script, and variations of it, to remove these characters: + CRLF. It removes the + char, but still leaves each ini entry split into multiple lines. I've also searched the archives for a solution, nothing is working. Any ideas? My script: #### on mouseUp --clear current fields on card --these fields are so that I can see the results from the script. put empty into fld "Orig" put empty into fld "Changed" --fetch the file put "C:/temp/some.ini" into tFilename put URL ("file:" & tFilename) into tData put tData into fld "Orig" repeat for each line L in tData --grab the line put L into tLine --If the line contains +, then it will also contain CR and LF, --so only work on a line with +. if (tLine contains "+") then --find + and delete it put offSet("+",tLine) into tPos delete char tPos to tPos in tLine --find CR and delete it put offSet(CR,tLine) into tPos delete char tPos to tPos in tLine --find LF and delete it put offSet(LF,tLine) into tPos delete char tPos to tPos in tLine --put the line into a container so that I can see the results put tLine & cr after theLines else -- just put the line into a container put tLine & cr after theLines end if end repeat put theLines into fld "Changed" end mouseUp #### Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18862004.html Sent from the Revolution - User mailing list archive at Nabble.com. From larry at rmg.net Wed Aug 6 20:18:00 2008 From: larry at rmg.net (Larry Forsgren) Date: Wed, 06 Aug 2008 19:18:00 -0500 Subject: engine crash on open stack Message-ID: <489A3F38.5040606@rmg.net> Thank you for your help. Unfortunately suppressing error messages does not do it. The engine crashes and closes immediately and at the exact moment I choose to open the stack. If I remember correctly the last command I put in a script was 'set fixedLineHeight" to false'. After that I continued to run the stack for a while without problems. The crash problem occured when I reopened Revolution the next time. Perhaps it is also important to mention that I am developing under Windows Vista. Regards Larry From jacque at hyperactivesw.com Wed Aug 6 20:28:42 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 06 Aug 2008 19:28:42 -0500 Subject: Removing CRLF from text In-Reply-To: <18862004.post@talk.nabble.com> References: <18862004.post@talk.nabble.com> Message-ID: <489A41BA.3010503@hyperactivesw.com> mfstuart wrote: > I've used this script, and variations of it, to remove these characters: + > CRLF. > It removes the + char, but still leaves each ini entry split into multiple > lines. > repeat for each line L in tData When a script gets a line of text, the engine omits the end of line character(s) and returns only the text of the line itself. That is why the lines stay separated, since the line delimiters are left intact. (It works just like items; when you get an item from a string, the comma is not included.) Instead of working on each line, work on the entire block of text as a whole. You should be able to do it like this: put URL ("file:" & tFilename) into tData put "+"&CR&LF into tChars replace tChars with space in tData -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sarah.reichelt at gmail.com Wed Aug 6 20:29:22 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 7 Aug 2008 10:29:22 +1000 Subject: Removing CRLF from text In-Reply-To: <18862004.post@talk.nabble.com> References: <18862004.post@talk.nabble.com> Message-ID: > I have a situation where a software application's ini file has the plus (+) > char and CRLF at the end of a line, when the line passes 80 characters. The > balance of the ini entry is placed on the next line. Each ini entry could be > very long and possibly go to 3 lines. > Why they did this I don't know, really. > > But what I need to do is remove the + and CRLF so that each ini entry is > complete in itself, on one line. > > ini file currently contains: > dfgsdfg sdfgsd fgsdfgsdf gsdfg + > sdfgadfs dgdghs dfdfgg fghf+ > dfgh dfgh > > Result I'd like after running the script: > dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh > what about: replace "+" & CRLF with empty in tData Cheers, Sarah From sarah.reichelt at gmail.com Wed Aug 6 20:31:23 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 7 Aug 2008 10:31:23 +1000 Subject: engine crash on open stack In-Reply-To: <489A3F38.5040606@rmg.net> References: <489A3F38.5040606@rmg.net> Message-ID: On Thu, Aug 7, 2008 at 10:18 AM, Larry Forsgren wrote: > Thank you for your help. > > Unfortunately suppressing error messages does not do it. You don't want to suppress errors, you want to suppress messages. These are side by side on the toolbar, but to make sure you have the right one chosen, check the Development menu before opening your problem stack. Make sure "Suppress messages" is checked. Cheers, Sarah From lan.kc.macmail at gmail.com Wed Aug 6 20:48:38 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 7 Aug 2008 08:48:38 +0800 Subject: OOPS! Can't Undo Deleted Objects In-Reply-To: <9b408d8e0808060841k61582c4dy97179f6b10abb6c@mail.gmail.com> References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> <9b408d8e0808060800r1d252389vf3ddf5f8fe4fdcb9@mail.gmail.com> <020a01c8f7d8$311f9890$0a01010a@ANNIESPUTA> <9b408d8e0808060841k61582c4dy97179f6b10abb6c@mail.gmail.com> Message-ID: On Wed, Aug 6, 2008 at 11:41 PM, Mikey wrote: > Don't thank me yet. Check first. > > If I'm right, the advantage of GLX2 is that it archives your stacks in > their > current state, which is (to me anyway) more valuable than just saving them > periodically. > Yes, GLX2 most certainly does have the option to set up auto-save and auto-archive. I was just offering FREE with Rev solutions just in case Heather does not have GLX2. (Of course if your looking for an excellent addition to your Rev experience, GLX2 is WAY WAY up there at the very TOP of the list. You can get info about it here: http://daniels-mara.com/glx2/features/ but note that auto-save and auto-archive aren't even mentioned, their so mundane compared to all the other cool features:-) HTH From mfstuart at cox.net Wed Aug 6 23:34:06 2008 From: mfstuart at cox.net (mfstuart) Date: Wed, 6 Aug 2008 20:34:06 -0700 (PDT) Subject: Removing CRLF from text In-Reply-To: References: <18862004.post@talk.nabble.com> Message-ID: <18863440.post@talk.nabble.com> Hi Sarah, Thanx for your reply. I have tried your suggestion and it still doesn't make the separated lines into one entry per line. I also tried Jacqueline's suggestion and nada, zilch, nichte. I've looked at the ini (text) file with a Hex Editor and the values are: +=2b, CR=0d, LF=0a. Not sure how to replace using the hex value as the value to replace. I've even tried using: replace "+" & numtoChar(10) & numtoChar(13) with "" in tData This all will not put all separated lines into one line. So I'll keep trying different combinations, unless someone has this licked. Regards, Mark Stuart Sarah Reichelt-2 wrote: > >> I have a situation where a software application's ini file has the plus >> (+) >> char and CRLF at the end of a line, when the line passes 80 characters. >> The >> balance of the ini entry is placed on the next line. Each ini entry could >> be >> very long and possibly go to 3 lines. >> Why they did this I don't know, really. >> >> But what I need to do is remove the + and CRLF so that each ini entry is >> complete in itself, on one line. >> >> ini file currently contains: >> dfgsdfg sdfgsd fgsdfgsdf gsdfg + >> sdfgadfs dgdghs dfdfgg fghf+ >> dfgh dfgh >> >> Result I'd like after running the script: >> dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh >> > > what about: > > replace "+" & CRLF with empty in tData > > Cheers, > Sarah > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18863440.html Sent from the Revolution - User mailing list archive at Nabble.com. From mfstuart at cox.net Wed Aug 6 23:35:33 2008 From: mfstuart at cox.net (mfstuart) Date: Wed, 6 Aug 2008 20:35:33 -0700 (PDT) Subject: Removing CRLF from text In-Reply-To: <489A41BA.3010503@hyperactivesw.com> References: <18862004.post@talk.nabble.com> <489A41BA.3010503@hyperactivesw.com> Message-ID: <18863449.post@talk.nabble.com> Hi Jacqueline, Refer to my replay to Sarah - no go. So any other suggestions are welcome. Regards, Mark Stuart J. Landman Gay wrote: > > mfstuart wrote: > >> I've used this script, and variations of it, to remove these characters: >> + >> CRLF. >> It removes the + char, but still leaves each ini entry split into >> multiple >> lines. > > > >> repeat for each line L in tData > > When a script gets a line of text, the engine omits the end of line > character(s) and returns only the text of the line itself. That is why > the lines stay separated, since the line delimiters are left intact. (It > works just like items; when you get an item from a string, the comma is > not included.) Instead of working on each line, work on the entire block > of text as a whole. You should be able to do it like this: > > put URL ("file:" & tFilename) into tData > put "+"&CR&LF into tChars > replace tChars with space in tData > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > > -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18863449.html Sent from the Revolution - User mailing list archive at Nabble.com. From pepetoo at cox.net Wed Aug 6 23:50:10 2008 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Wed, 6 Aug 2008 20:50:10 -0700 Subject: Removing CRLF from text In-Reply-To: <18863449.post@talk.nabble.com> References: <18862004.post@talk.nabble.com> <489A41BA.3010503@hyperactivesw.com> <18863449.post@talk.nabble.com> Message-ID: <6E8CD2A7-826D-4A60-BB56-884141F89592@cox.net> Hi Mark, If I follwed this thread even partially, I believe you're just trying to get rid of empty lines. Correct? So why not rebuild the whole thing by examining each line; if it is empty, skip it; otherwise add it to a new var on its next line. Once you've done the whole lot, replace the text with this new var. I've probably missed the whole issue, but???? Joe Wilkins On Aug 6, 2008, at 8:35 PM, mfstuart wrote: > > Hi Jacqueline, > Refer to my replay to Sarah - no go. > > So any other suggestions are welcome. > > Regards, > Mark Stuart > > > > J. Landman Gay wrote: >> >> mfstuart wrote: >> >>> I've used this script, and variations of it, to remove these >>> characters: >>> + >>> CRLF. >>> It removes the + char, but still leaves each ini entry split into >>> multiple >>> lines. >> >> >> >>> repeat for each line L in tData >> >> When a script gets a line of text, the engine omits the end of line >> character(s) and returns only the text of the line itself. That is >> why >> the lines stay separated, since the line delimiters are left >> intact. (It >> works just like items; when you get an item from a string, the >> comma is >> not included.) Instead of working on each line, work on the entire >> block >> of text as a whole. You should be able to do it like this: >> >> put URL ("file:" & tFilename) into tData >> put "+"&CR&LF into tChars >> replace tChars with space in tData >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> > > -- > View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18863449.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 Joe Lewis Wilkins pepetoo at cox.net From JimAultWins at yahoo.com Thu Aug 7 00:14:07 2008 From: JimAultWins at yahoo.com (Jim Ault) Date: Wed, 06 Aug 2008 21:14:07 -0700 Subject: Removing CRLF from text In-Reply-To: <18863440.post@talk.nabble.com> Message-ID: try using this line first replace null with empty in tData --some functions (eg filter) don't work if any nulls are in the text block Of course you could find out where they are, if any, by replace null with cr in tData Jim Ault Las Vegas On 8/6/08 8:34 PM, "mfstuart" wrote: > > Hi Sarah, > Thanx for your reply. > I have tried your suggestion and it still doesn't make the separated lines > into one entry per line. > I also tried Jacqueline's suggestion and nada, zilch, nichte. > I've looked at the ini (text) file with a Hex Editor and the values are: > +=2b, CR=0d, LF=0a. > Not sure how to replace using the hex value as the value to replace. > > I've even tried using: > replace "+" & numtoChar(10) & numtoChar(13) with "" in tData > This all will not put all separated lines into one line. > > So I'll keep trying different combinations, unless someone has this licked. > > Regards, > Mark Stuart > > > > Sarah Reichelt-2 wrote: >> >>> I have a situation where a software application's ini file has the plus >>> (+) >>> char and CRLF at the end of a line, when the line passes 80 characters. >>> The >>> balance of the ini entry is placed on the next line. Each ini entry could >>> be >>> very long and possibly go to 3 lines. >>> Why they did this I don't know, really. >>> >>> But what I need to do is remove the + and CRLF so that each ini entry is >>> complete in itself, on one line. >>> >>> ini file currently contains: >>> dfgsdfg sdfgsd fgsdfgsdf gsdfg + >>> sdfgadfs dgdghs dfdfgg fghf+ >>> dfgh dfgh >>> >>> Result I'd like after running the script: >>> dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh >>> >> >> what about: >> >> replace "+" & CRLF with empty in tData >> >> Cheers, >> Sarah >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> From janschenkel at yahoo.com Thu Aug 7 00:20:14 2008 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 6 Aug 2008 21:20:14 -0700 (PDT) Subject: Does Palette command work? In-Reply-To: <1A304D1B-F63F-4DA5-9552-6132F5F06E01@major-k.de> Message-ID: <71504.33705.qm@web65404.mail.ac4.yahoo.com> --- Klaus Major wrote: > > --- dfepstein at comcast.net wrote: > >> Using Rev Media 2.9 in Windows XP > >> palette stack "a" -- no effect > >> go stack "a" as palette -- works correctly > >> Do others experience this? > >> David Epstein > >> > > Hi David, > > That's one of the built-in limitations of Rev > Media, > > OK, but if: > -> palette stack "a" > does not work in Rev Media and > -> go stack "a" as palette > DOES work, then this is a halfbaked and useless > limitation > (or none at all) in my opinion :-) > The real question is: do you end up wih a palette or is the stack loaded as toplevel or modeless instead? Then again, that's not relevant either and we need to file a report at the quality center. After all, if they don't want 'palette' to work in Rev Media they should block _both_ variations at compile time. Jan Schenkel. Quartam Reports & PDF Library for Revolution ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) From sarah.reichelt at gmail.com Thu Aug 7 00:25:22 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 7 Aug 2008 14:25:22 +1000 Subject: Removing CRLF from text In-Reply-To: <18863440.post@talk.nabble.com> References: <18862004.post@talk.nabble.com> <18863440.post@talk.nabble.com> Message-ID: On Thu, Aug 7, 2008 at 1:34 PM, mfstuart wrote: > > Hi Sarah, > Thanx for your reply. > I have tried your suggestion and it still doesn't make the separated lines > into one entry per line. > I also tried Jacqueline's suggestion and nada, zilch, nichte. > I've looked at the ini (text) file with a Hex Editor and the values are: > +=2b, CR=0d, LF=0a. > Not sure how to replace using the hex value as the value to replace. > > I've even tried using: > replace "+" & numtoChar(10) & numtoChar(13) with "" in tData > This all will not put all separated lines into one line. Are there any spaces or invisible characters that might be separating the 3 specified characters? Sarah From sarah.reichelt at gmail.com Thu Aug 7 00:39:04 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Thu, 7 Aug 2008 14:39:04 +1000 Subject: HTML Color Codes In-Reply-To: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> References: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> Message-ID: > I was wondering how to translate the RGB names to the HTML equivalent when user selects color with the Color Dialog. For such use as with a html page generator. > > If it doesn't exist already (though surely it's been done before, and I just can't find it): am I on the right track thinking that an array would be used to hold both code sets, then a function returns the html equivalent rather than the RGB? Or something! HTML colors are just the same as RGB colors but with the decimal numbers converted to hexadecimal and then run together. So you can calculate one from the other and don't need an array or lookup table. Here is a function for doing the conversion. function RGBtoHTML pRGB put item 1 of pRGB into r put item 2 of pRGB into g put item 3 of pRGB into b put baseconvert(r,10,16) into r put baseconvert(g,10,16) into g put baseconvert(b,10,16) into b return "#" & r & g & b end RGBtoHTML So you can do something like this: answer color put it into tRGBcolor put RGBtoHTML(tRGBcolor) into tHTMLcolor Cheers, Sarah From mb.userev at harbourhosting.co.uk Thu Aug 7 03:32:20 2008 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Thu, 07 Aug 2008 08:32:20 +0100 Subject: Removing CRLF from text In-Reply-To: <18862004.post@talk.nabble.com> References: <18862004.post@talk.nabble.com> Message-ID: <489AA504.8020702@harbourhosting.co.uk> How about this? put "C:/temp/some.ini" into tFilename put URL ("binfile:" & tFilename) into tData put "+" & crlf into tmatchstring replace tmatchstring with space in tData If you read as binfile: it should stop the engine automatically translating crlf to lf on import. Martin Baxter mfstuart wrote: > Hi, > > RunRev: 2.90 > OS: WinXP > > I have a situation where a software application's ini file has the plus (+) > char and CRLF at the end of a line, when the line passes 80 characters. The > balance of the ini entry is placed on the next line. Each ini entry could be > very long and possibly go to 3 lines. > Why they did this I don't know, really. > > But what I need to do is remove the + and CRLF so that each ini entry is > complete in itself, on one line. > > ini file currently contains: > dfgsdfg sdfgsd fgsdfgsdf gsdfg + > sdfgadfs dgdghs dfdfgg fghf+ > dfgh dfgh > > Result I'd like after running the script: > dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh > > I've used this script, and variations of it, to remove these characters: + > CRLF. > It removes the + char, but still leaves each ini entry split into multiple > lines. > > I've also searched the archives for a solution, nothing is working. > > Any ideas? > > > My script: > #### > on mouseUp > --clear current fields on card > --these fields are so that I can see the results from the script. > put empty into fld "Orig" > put empty into fld "Changed" > > --fetch the file > put "C:/temp/some.ini" into tFilename > put URL ("file:" & tFilename) into tData > put tData into fld "Orig" > > repeat for each line L in tData > --grab the line > put L into tLine > > --If the line contains +, then it will also contain CR and LF, > --so only work on a line with +. > if (tLine contains "+") then > --find + and delete it > put offSet("+",tLine) into tPos > delete char tPos to tPos in tLine > > --find CR and delete it > put offSet(CR,tLine) into tPos > delete char tPos to tPos in tLine > > --find LF and delete it > put offSet(LF,tLine) into tPos > delete char tPos to tPos in tLine > > --put the line into a container so that I can see the results > put tLine & cr after theLines > else -- just put the line into a container > put tLine & cr after theLines > end if > end repeat > > put theLines into fld "Changed" > end mouseUp > #### > > Regards, > Mark Stuart -- I am Not a Number, I am a free NaN From alex at harryscollar.com Thu Aug 7 03:48:39 2008 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 07 Aug 2008 17:48:39 +1000 Subject: REV Send Email via CGI and mail.php script on the fly? In-Reply-To: <7c87a2a10808041603w221dda0bjf0b088ea7897b784@mail.gmail.com> References: <79774829120086754811575012080816259762-Webmail2@me.com> <98881394-2712-4821-A41B-AA16FFFE3A64@sosmartsoftware.com> <195F3B1D-5436-45FA-8260-7D335FB07600@economy-x-talk.com> <74DB84ED-A2C1-47C6-BA36-F9343763C383@futilism.com> <7c87a2a10808041603w221dda0bjf0b088ea7897b784@mail.gmail.com> Message-ID: <489AA8D7.1020601@harryscollar.com> Hi I agree but I have had past problems using "sendmail" (particularly with attachments) on some web servers. The solution that's worked best for me is LibCGI and Shao Sean's libSMTP & libEmailEncode. All in rev :) regards alex Andre Garzia wrote: > Folks, > > using smtp routines from a cgi is not the best solution. If the server > blocks, you end up eating server resources and many hosts will not > allow your cgi to open sockets to outside servers. > > RevOnRockets has a library called RocketsSendmail that wraps around > the sendmail common unix tool to send emails, you can simply download > and use that instead of using a php file. I can assist > > Cheers > andre > From runrev at animabit.de Thu Aug 7 04:14:09 2008 From: runrev at animabit.de (runrev at animabit.de) Date: Thu, 7 Aug 2008 08:14:09 +0000 Subject: Removing CRLF from text Message-ID: put URL "proto://xyz.ini" into myconfig replace "+" & CRLF with empty in myconfig put myconfig ... Any line with a CRLF without a + before will stay. Regards, Franz Mit freundlichen Gr??en Franz B?hmisch boehmisch at animabit.de http://www.animabit.de GF Animabit Multimedia Software GmbH Am Sonnenhang 22 D-94136 Thyrnau Tel +49 (0)8501-8538 Fax +49 (0)8501-8537 ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh To: mfstuart at cox.net use-revolution at lists.runrev.com From iowahengst at mac.com Thu Aug 7 07:30:25 2008 From: iowahengst at mac.com (Randy Hengst) Date: Thu, 07 Aug 2008 04:30:25 -0700 Subject: Removing CRLF from text Message-ID: <132139430849394047377311994136634633641-Webmail2@me.com> Hi Mark, I played with your question by pasting your text example into a field, demo, and by grabbing a text file using the URL pattern you shared. I thought that CR and LF are basically the same thing. So, when I used: replace "+"&CR with "" in field "demo" it seemed to work. I used RevStudio 2.9 on MacOSX4.11. take care, randy ------------------- On Aug 6, 2008, at 7:17 PM, mfstuart wrote: Hi, RunRev: 2.90 OS: WinXP I have a situation where a software application's ini file has the plus (+) char and CRLF at the end of a line, when the line passes 80 characters. The balance of the ini entry is placed on the next line. Each ini entry could be very long and possibly go to 3 lines. Why they did this I don't know, really. But what I need to do is remove the + and CRLF so that each ini entry is complete in itself, on one line. ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh I've used this script, and variations of it, to remove these characters: + CRLF. It removes the + char, but still leaves each ini entry split into multiple lines. I've also searched the archives for a solution, nothing is working. Any ideas? My script: #### on mouseUp --clear current fields on card --these fields are so that I can see the results from the script. put empty into fld "Orig" put empty into fld "Changed" --fetch the file put "C:/temp/some.ini" into tFilename put URL ("file:" & tFilename) into tData put tData into fld "Orig" repeat for each line L in tData --grab the line put L into tLine --If the line contains +, then it will also contain CR and LF, --so only work on a line with +. if (tLine contains "+") then --find + and delete it put offSet("+",tLine) into tPos delete char tPos to tPos in tLine --find CR and delete it put offSet(CR,tLine) into tPos delete char tPos to tPos in tLine --find LF and delete it put offSet(LF,tLine) into tPos delete char tPos to tPos in tLine --put the line into a container so that I can see the results put tLine & cr after theLines else -- just put the line into a container put tLine & cr after theLines end if end repeat put theLines into fld "Changed" end mouseUp #### Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18862004.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 runrev at animabit.de Thu Aug 7 07:52:07 2008 From: runrev at animabit.de (runrev at animabit.de) Date: Thu, 7 Aug 2008 11:52:07 +0000 Subject: Re-2: Removing CRLF from text Message-ID: crlf and cr are not the same! from the docu: Use the CRLF constant as an easier-to-read substitute for numToChar(13) & numToChar(10). cr is numToChar(13) only. Runrev engages in text fields for optimization according to the used OS => you do in most cases not see the differences when using text fields. When using variables and binfiles the difference of crlf and cr can be important. In runrev you often have relicts of LineFeed LF (10) when using ftp from a win pc to a unix os. In this cases you have to replace crlf with cr (=remove numToCHar(10). Regards, Franz Original Message processed by David InfoCenter Subject: Re: Removing CRLF from text (07-Aug-2008 13:30) From: Randy Hengst To: boehmisch at animabit.de Hi Mark, I played with your question by pasting your text example into a field, demo, and by grabbing a text file using the URL pattern you shared. I thought that CR and LF are basically the same thing. So, when I used: replace "+"&CR with "" in field "demo" it seemed to work. I used RevStudio 2.9 on MacOSX4.11. take care, randy ------------------- On Aug 6, 2008, at 7:17 PM, mfstuart wrote: Hi, RunRev: 2.90 OS: WinXP I have a situation where a software application's ini file has the plus (+) char and CRLF at the end of a line, when the line passes 80 characters. The balance of the ini entry is placed on the next line. Each ini entry could be very long and possibly go to 3 lines. Why they did this I don't know, really. But what I need to do is remove the + and CRLF so that each ini entry is complete in itself, on one line. ini file currently contains: dfgsdfg sdfgsd fgsdfgsdf gsdfg + sdfgadfs dgdghs dfdfgg fghf+ dfgh dfgh Result I'd like after running the script: dfgsdfg sdfgsd fgsdfgsdf gsdfg sdfgadfs dgdghs dfdfgg fghf dfgh dfgh I've used this script, and variations of it, to remove these characters: + CRLF. It removes the + char, but still leaves each ini entry split into multiple lines. I've also searched the archives for a solution, nothing is working. Any ideas? My script: #### on mouseUp --clear current fields on card --these fields are so that I can see the results from the script. put empty into fld "Orig" put empty into fld "Changed" --fetch the file put "C:/temp/some.ini" into tFilename put URL ("file:" & tFilename) into tData put tData into fld "Orig" repeat for each line L in tData --grab the line put L into tLine --If the line contains +, then it will also contain CR and LF, --so only work on a line with +. if (tLine contains "+") then --find + and delete it put offSet("+",tLine) into tPos delete char tPos to tPos in tLine --find CR and delete it put offSet(CR,tLine) into tPos delete char tPos to tPos in tLine --find LF and delete it put offSet(LF,tLine) into tPos delete char tPos to tPos in tLine --put the line into a container so that I can see the results put tLine & cr after theLines else -- just put the line into a container put tLine & cr after theLines end if end repeat put theLines into fld "Changed" end mouseUp #### Regards, Mark Stuart -- View this message in context: http://www.nabble.com/Removing-CRLF-from-text-tp18862004p18862004.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution To: use-revolution at lists.runrev.com From dave.cragg at lacscentre.co.uk Thu Aug 7 08:37:14 2008 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 7 Aug 2008 13:37:14 +0100 Subject: Re-2: Removing CRLF from text In-Reply-To: References: Message-ID: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> On 7 Aug 2008, at 12:52, runrev at animabit.de wrote: > crlf and cr are not the same! > > from the docu: > Use the CRLF constant as an easier-to-read substitute for > numToChar(13) & numToChar(10). > cr is numToChar(13) only. Be careful. In Rev, cr is numToChar(10) and is a synonym for return and lf. Cheers Dave From mikeythek at gmail.com Thu Aug 7 09:32:14 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 09:32:14 -0400 Subject: Re-2: Removing CRLF from text In-Reply-To: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> References: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> Message-ID: <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> > Be careful. In Rev, cr is numToChar(10) and is a synonym for return and lf. > > Are you sure about that? 10 is LF, and I've never experienced a problem with getting the two mixed up. Perhaps the application that's generating your EOL's is putting in a LF instead of a CR? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Thu Aug 7 09:36:08 2008 From: klaus at major-k.de (Klaus Major) Date: Thu, 7 Aug 2008 15:36:08 +0200 Subject: Re-2: Removing CRLF from text In-Reply-To: <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> References: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> Message-ID: <12BCE20F-0891-48FA-80E1-036FD1E15D72@major-k.de> Hi mikey, >> Be careful. In Rev, cr is numToChar(10) and is a synonym for return >> and lf. >> > Are you sure about that? 10 is LF, and I've never experienced a > problem > with getting the two mixed up. Perhaps the application that's > generating > your EOL's is putting in a LF instead of a CR? Attentione, signore! You are talking to Mr. LibUrl himself! :-D From the docs about "return" (= CR): ... Summary: Equivalent to the line feed character (ASCII 10, Control-J). ... Regards Klaus Major klaus at major-k.de http://www.major-k.de From mikeythek at gmail.com Thu Aug 7 09:43:06 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 09:43:06 -0400 Subject: Removing CRLF from text In-Reply-To: <132139430849394047377311994136634633641-Webmail2@me.com> References: <132139430849394047377311994136634633641-Webmail2@me.com> Message-ID: <9b408d8e0808070643q5322477die0fb9f018ae783df@mail.gmail.com> > I thought that CR and LF are basically the same thing. So, when I used: > replace "+"&CR with "" in field "demo" > > They are not the same thing. This goes back to the teletype days (and yes, I have one sitting here), when the teletypes would communicate with each other by sending binary codes over the line for each character, giving us these character codes we use today. IBM had a different scheme called EBCIDEC, but for a whole host of reasons it is not the standard and the ASCII set is. Anyway, back in the TTY days, you had two keys on the keyboard - one is the CR, which causes the carriage, i.e. the printhead and ribbon, to return to the left margin. The other is the line feed, which caused the platten to advance one line. If you wanted to skip one or more lines vertically you would just add more 's instead of banging the carriage against the left side several times. In this way, a lot of motion could be eliminated, which caused a dramatic slowdown since the unit was mechanical. If you were printing a box in the middle of the page, for instance, you could either then (times a bunch) over to the next character to print OR you could , which put you right where you needed to be. While was significantly faster than a bunch of 's, it frequently wasn't if you were in the middle of the page. In the modern days, many systems use one or the other, i.e. either or to mean the same thing. Typically is used to mean end-of-line. However, I have seen a fair number of implementations in Windoze where is used instead. Very infrequently do I see both together. In the unix world is it not at all uncommon to see the combination. In fact on some systems it is the default. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mikeythek at gmail.com Thu Aug 7 09:49:19 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 09:49:19 -0400 Subject: Re-2: Removing CRLF from text In-Reply-To: <12BCE20F-0891-48FA-80E1-036FD1E15D72@major-k.de> References: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> <12BCE20F-0891-48FA-80E1-036FD1E15D72@major-k.de> Message-ID: <9b408d8e0808070649w31a9414avd342f47bdee0da21@mail.gmail.com> hmm. weird. Thanks for the info. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dave.cragg at lacscentre.co.uk Thu Aug 7 10:27:49 2008 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Thu, 7 Aug 2008 15:27:49 +0100 Subject: Re-2: Removing CRLF from text In-Reply-To: <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> References: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> Message-ID: <9ACE351D-7F9E-4716-8747-B405F4BDD04E@lacscentre.co.uk> On 7 Aug 2008, at 14:32, Mikey wrote: >> Be careful. In Rev, cr is numToChar(10) and is a synonym for return >> and lf. >> >> > Are you sure about that? Fairly. :-) Try this in the message box put charToNum(cr) Cheers Dave From mikeythek at gmail.com Thu Aug 7 10:34:48 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 10:34:48 -0400 Subject: Re-2: Removing CRLF from text In-Reply-To: <9ACE351D-7F9E-4716-8747-B405F4BDD04E@lacscentre.co.uk> References: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> <9ACE351D-7F9E-4716-8747-B405F4BDD04E@lacscentre.co.uk> Message-ID: <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> Weird again. I have learned more things today that I wished I did not. I wonder why it's implemented this way. From m.schonewille at economy-x-talk.com Thu Aug 7 10:49:03 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Aug 2008 16:49:03 +0200 Subject: Re-2: Removing CRLF from text In-Reply-To: <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> References: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> <9ACE351D-7F9E-4716-8747-B405F4BDD04E@lacscentre.co.uk> <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> Message-ID: <4C3E3DD6-A78E-4DA7-84AC-64F546D6FC9A@economy-x-talk.com> Hi Mikey, On Unix systems, the line delimiter is ASCII 10. On HyperCard, ASCII 13 was used. On HyperCard is was called a return and a way had to be invented to make conversion of HyperCard stacks, as well as HyperCard users, to Revolution as easy as possible. Treating both linefeeds and returns as linefeeds as equals really made this easier. The question remains, what would have happened if Revolution had used ASCII 13? Probably, this would have complicated using Rev stacks as shell and CGI scripts in Unix systems. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 7-aug-2008, om 16:34 heeft Mikey het volgende geschreven: > Weird again. I have learned more things today that I wished I did > not. I > wonder why it's implemented this way. From mikeythek at gmail.com Thu Aug 7 11:22:02 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 11:22:02 -0400 Subject: Re-2: Removing CRLF from text In-Reply-To: <4C3E3DD6-A78E-4DA7-84AC-64F546D6FC9A@economy-x-talk.com> References: <2FEC8E0A-928A-4158-A2A2-8E947004D4C6@lacscentre.co.uk> <9b408d8e0808070632n663de134v5ca34947177f20e7@mail.gmail.com> <9ACE351D-7F9E-4716-8747-B405F4BDD04E@lacscentre.co.uk> <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> <4C3E3DD6-A78E-4DA7-84AC-64F546D6FC9A@economy-x-talk.com> Message-ID: <9b408d8e0808070822w15f22d4ei58c974d2b850975f@mail.gmail.com> Mark, Maybe I have several funky Unix boxes, then, but all the applications on these buggers still go , which is really annoying, but that's the way it is. I could have sworn that several of the 'net protocols also still go , but it's been several years since the last server I wrote. If memory serves me right both SMTP and POP3 EOL via that combo. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From kray at sonsothunder.com Thu Aug 7 11:34:31 2008 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 07 Aug 2008 10:34:31 -0500 Subject: Re-2: Removing CRLF from text In-Reply-To: <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> Message-ID: > Weird again. I have learned more things today that I wished I did not. I > wonder why it's implemented this way. Actually IIRC, it's done this way to standardize *internal* interpretation on all the platforms (much like Rev standardizes on forward slash for path delimiters). That way, regardless of whether the host OS uses LF only, CR only or CRLF, when text data is read in from the outside it is all converted internally to use the LF character (ASCII 10). If you want to read in the actual end-of-line (EOL) delimiters, you can read the file in *as binary*: put url ("file:myfilePath") into tVar -- EOLs are now all LFs put url ("binfile:myfilePath") into tVar -- EOLs are all preserved As to why LF was standardized as the internal representation? Well, I would have to assume it's from Rev's roots - originally it was called MetaCard and was developed for UNIX only... over time it migrated to the Windows and then Mac platforms, and eventually became Revolution. And back in those days, the LF char was used for the EOL character (although nowadays I think Linux supports LF and CRLF, but I'm not sure). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Thu Aug 7 12:09:09 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Aug 2008 11:09:09 -0500 Subject: Are crash reports useful In-Reply-To: <2BA7347F-46F8-41DA-B393-B43DFBD0B6A4@sosmartsoftware.com> References: <4899DF17.8000206@hyperactivesw.com> <4899F219.3040908@hyperactivesw.com> <2BA7347F-46F8-41DA-B393-B43DFBD0B6A4@sosmartsoftware.com> Message-ID: <489B1E25.6030005@hyperactivesw.com> Eric Chatonet wrote: > I let you report this thread to Mark W. ;-) I asked Mark to respond, and he asked me to post to this list, as he isn't subscribed here. Basically, it is true that the format of the logs is generated by the OS and there is nothing to worry about regarding confidentiality. Here is what he said: *** The crash logs are those generated by the 'MiniDump' component that is present in Windows. This is a system provided library that allows applications to produce a dump containing the state of the call stack when it crashes. It is the same component that is used by the default Microsoft handler for these which usually prompts you to ask if you 'want to send information to Microsoft to diagnose'. As far as I'm aware this information is entirely unencrypted - its just encoded in a binary form. The information present in the file is pretty much identical to the information you get when a CrashLog from CrashReporter on OS X. Although different settings (small, medium, large) can result in more information being included - which means they can be closer to UNIX-style 'Core dumps' than a simple log. As far as I'm aware, 'small' contains just a call stack, 'medium' contains the call-stack and contents of variables on the stack and 'large' contains any interesting segments of memory (although I've never been able to use 'large' dumps to any more effect than 'small' or 'medium'). Rather than a text file, the minidump file is binary file which has the advantage of being loadable directly into Visual Studio for post-mortem analysis. Using this (by combining with special debug symbol files we keep from compiling) we can typically jump directly to the line that caused Revolution to crash - as you can imagine this can make determining the cause of a crash much easier. The sensitivity of any data included is minimal as it is the state of the Revolution *engine* that is encoded in these files - this means any state of your Revolution application is completely obfuscated... Unless of course you can divine the functioning of Rev script by the C++ calls that result in getting made in the engine itself. -- Warmest Regards, Mark. *** So it sounds to me like if you want to examine the contents of the log, you could look at it in VB just as Mark does, provided you understand the binary notation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eric.chatonet at sosmartsoftware.com Thu Aug 7 12:19:20 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Thu, 7 Aug 2008 18:19:20 +0200 Subject: Are crash reports useful In-Reply-To: <489B1E25.6030005@hyperactivesw.com> References: <4899DF17.8000206@hyperactivesw.com> <4899F219.3040908@hyperactivesw.com> <2BA7347F-46F8-41DA-B393-B43DFBD0B6A4@sosmartsoftware.com> <489B1E25.6030005@hyperactivesw.com> Message-ID: <9AB601FA-6CC8-44C9-852C-7D3F93A434E5@sosmartsoftware.com> Jacque, As I said I'm sure that Runrev has nothing to make with our code but only with 'exceptions' in the engine. But it would be clearer to add a text file in the logs folder to explain all this :-) Le 7 ao?t 08 ? 18:09, J. Landman Gay a ?crit : > Eric Chatonet wrote: > >> I let you report this thread to Mark W. ;-) > > I asked Mark to respond, and he asked me to post to this list, as > he isn't subscribed here. Basically, it is true that the format of > the logs is generated by the OS and there is nothing to worry about > regarding confidentiality. Here is what he said: > > *** > The crash logs are those generated by the 'MiniDump' component that > is present in Windows. This is a system provided library that > allows applications to produce a dump containing the state of the > call stack when it crashes. It is the same component that is used > by the default Microsoft handler for these which usually prompts > you to ask if you 'want to send information to Microsoft to > diagnose'. As far as I'm aware this information is entirely > unencrypted - its just encoded in a binary form. > > The information present in the file is pretty much identical to the > information you get when a CrashLog from CrashReporter on OS X. > Although different settings (small, medium, large) can result in > more information being included - which means they can be closer to > UNIX-style 'Core dumps' than a simple log. As far as I'm aware, > 'small' contains just a call stack, 'medium' contains the call- > stack and contents of variables on the stack and 'large' contains > any interesting segments of memory (although I've never been able > to use 'large' dumps to any more effect than 'small' or 'medium'). > > Rather than a text file, the minidump file is binary file which has > the advantage of being loadable directly into Visual Studio for > post-mortem analysis. Using this (by combining with special debug > symbol files we keep from compiling) we can typically jump directly > to the line that caused Revolution to crash - as you can imagine > this can make determining the cause of a crash much easier. > > The sensitivity of any data included is minimal as it is the state > of the Revolution *engine* that is encoded in these files - this > means any state of your Revolution application is completely > obfuscated... Unless of course you can divine the functioning of > Rev script by the C++ calls that result in getting made in the > engine itself. > > -- > > Warmest Regards, > > Mark. > > *** > > So it sounds to me like if you want to examine the contents of the > log, you could look at it in VB just as Mark does, provided you > understand the binary notation. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From mikeythek at gmail.com Thu Aug 7 12:59:50 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 12:59:50 -0400 Subject: Re-2: Removing CRLF from text In-Reply-To: References: <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> Message-ID: <9b408d8e0808070959p421178b6s93cdc16734fec288@mail.gmail.com> It's just weird for someone coming from tools where means ASCII(13) and means ASCII(10). I don't think I've run across a tool where means 10 until now. From ambassador at fourthworld.com Thu Aug 7 13:03:07 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 07 Aug 2008 10:03:07 -0700 Subject: Re-2: Removing CRLF from text Message-ID: <489B2ACB.9020807@fourthworld.com> Mark Schonewille wrote: > On Unix systems, the line delimiter is ASCII 10. On HyperCard, ASCII > 13 was used. On HyperCard is was called a return and a way had to be > invented to make conversion of HyperCard stacks, as well as HyperCard > users, to Revolution as easy as possible. Treating both linefeeds and > returns as linefeeds as equals really made this easier. > > The question remains, what would have happened if Revolution had used > ASCII 13? Probably, this would have complicated using Rev stacks as > shell and CGI scripts in Unix systems. Another questions might be: Should Rev consider using real CR (ASCII 13)for the constant "CR", perhaps with a global property that can be set for compatibility. Internally it could continue to use ASCII 10 as the main line delimiter, merely encouraging folks to use LF where they commonly use CR today. Mikey's response is not unique; it seems all of us have scratched our head over this at one time or another. We learned it and moved on, grateful that our habits of old Mac-specific HyperTalk were able to be carried forward. But for Rev to be successful, we must see more users in the next five years than have ever used the product before, and things which reduce head-scratching will aid adoption. Just a thought. I'm sure there are others. :) -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From mfstuart at cox.net Thu Aug 7 13:39:26 2008 From: mfstuart at cox.net (mfstuart at cox.net) Date: Thu, 7 Aug 2008 13:39:26 -0400 Subject: Re-2: Removing CRLF from text Message-ID: <20080807133926.LDI4Y.122633.imail@fed1rmwml40> Hi all, I?ve tried all replies to this issue and the one that works is from Martin Baxter, using: put URL ("binfile:" & tFilename) into tData put tData into fld ?Original? --this results in displaying a ?box? character at the end of each line --now look for the set of string characters that I want to remove put "+" & CRLF into tmatchstring --the order that the string you?re looking for is important replace tmatchstring with space in tData replace " " with empty in tData --the replace character is the last char of each line from the ?Original? field. I copied this character into the script --place the result into a field for display put tData into fld "Changed" >From my ?Changed? field (the result of the script), I copied the text from it, saved it with Notepad and viewed the file with a Hex Editor. The characters at the end of each line are: (Hex=0d0d0a) which is 13 13 10 RunRev translation: cr cr lf Remember, this is all from using? put URL ("binfile:" & tFilename) into tData >From the saved file above, I used it as the ini file for the software application, and the application works with it ? no problem. The net result is, this works using: put URL (?binfile:??.. when trying to do what I need to do ? ? bring ?broken? INI entries into one line, per ini entry. Thanx all for your interesting responses. It shows how awesome, diverse and I might say in a nice way, indulgent, each RunRev developer is. Regards, Mark Stuart p.s. I sent this same email from my work email address (which is not registered with this list), so you may see it twice. From mikeythek at gmail.com Thu Aug 7 13:44:34 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 13:44:34 -0400 Subject: Re-2: Removing CRLF from text In-Reply-To: <20080807133926.LDI4Y.122633.imail@fed1rmwml40> References: <20080807133926.LDI4Y.122633.imail@fed1rmwml40> Message-ID: <9b408d8e0808071044q6b2f3621vad9e3070582f4bb8@mail.gmail.com> I just love the tone on this list - despite the fact that I'm nearly always wrong, y'all are exceptionally patient and kewl with it. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From revdev at pdslabs.net Thu Aug 7 13:46:23 2008 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 07 Aug 2008 10:46:23 -0700 Subject: Re-2: Removing CRLF from text In-Reply-To: <20080807133926.LDI4Y.122633.imail@fed1rmwml40> References: <20080807133926.LDI4Y.122633.imail@fed1rmwml40> Message-ID: <489B34EF.1040205@pdslabs.net> mfstuart at cox.net wrote: > Thanx all for your interesting responses. > > It shows how awesome, diverse and I might say in a nice way, indulgent, each RunRev developer is. > > Regards, > Mark Stuart I think the "lessons learned" in this thread could make a nice Rev newsletter article. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From mikeythek at gmail.com Thu Aug 7 14:59:51 2008 From: mikeythek at gmail.com (Mikey) Date: Thu, 7 Aug 2008 14:59:51 -0400 Subject: Re-2: Removing CRLF from text In-Reply-To: <489B34EF.1040205@pdslabs.net> References: <20080807133926.LDI4Y.122633.imail@fed1rmwml40> <489B34EF.1040205@pdslabs.net> Message-ID: <9b408d8e0808071159i7849773aq4d3eaa9ba51765c4@mail.gmail.com> In another tool that I use VERY frequently, these little tidbits are referred to as the Tao, because they are simply details regarding The Way and the rationale behind The Way that the environment is designed, and once one has an understanding of The Tao, many of the mysteries are much less so. One might sometimes refer to such things as "Stuff that might at first seem counterintuitive or surprising", but that's a lot longer to type. From 3mcgrath at comcast.net Thu Aug 7 15:22:20 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Thu, 7 Aug 2008 15:22:20 -0400 Subject: Still can not get revBrowser to load in standalone Message-ID: Dear programmers, I still can not seem to get the revBrowser to load from the standalone I am building. It should load since it is in the OSX package but it does not. In Windows it will not load either. I can really use some help here. Sincerely, Tom McGrath From m.schonewille at economy-x-talk.com Thu Aug 7 15:55:59 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Aug 2008 21:55:59 +0200 Subject: Still can not get revBrowser to load in standalone In-Reply-To: References: Message-ID: Hi Tom, Is all of the following true? You - have removed old versions of the external - have double-checked that revBrowser.bundle is in the application package - are making sure that any execution errors are properly displayed in a dialog while running a standalone - are running OSX 10.5.4 - have made sure that the externalPackages of stack "revExternalLibrary" contains "revBrowser" while running as a standalone - have checked that the externals property of stack "revExternalLibrary" contains something like "/Users/Tom/Desktop/Test/ MacOSX/Test.app/Contents/MacOS/Externals/revbrowser.bundle" and on Windows it contains "C:/Documents and Settings/Tom/Desktop/Test/ Windows/Externals/revbrowser.dll" - have made sure that the folder/file stated above actually exists and the standalone checks this using syntax like "file... exists" or "folder... exists" and the standalone shows an error message if the file/folder doesn't exist - have made sure that the rect property of the browser object is set to an area that is visible on the card - have double-checked this rect and your standalone displays it in a field or dialog window after you have set the rect of the browser object - have checked that the revBrowserGet function returns the correct rectangle - aren't using any custom window shapes - have created an otherwise empty stack, which displays a website in a browser object correctly while running as a standalone on both OSX and Windows - did not put your standalone at root level but it sits in a folder What made you think that copying revBrowser.bundle to the root level of the DVD would help? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 7 aug 2008, at 21:22, Thomas McGrath III wrote: > Dear programmers, > > I still can not seem to get the revBrowser to load from the > standalone I am building. > > It should load since it is in the OSX package but it does not. > > In Windows it will not load either. > > I can really use some help here. > > > Sincerely, > > Tom McGrath From larry at rmg.net Thu Aug 7 16:57:50 2008 From: larry at rmg.net (Larry Forsgren) Date: Thu, 07 Aug 2008 15:57:50 -0500 Subject: engine crash on open stack (Larry Forsgren) Message-ID: <489B61CE.3060702@rmg.net> Hi Sarah My mistake. I did mean suppress messages. The engine crashes at the very same moment I open the stack in the File menu of Revolution whether messages are suppressed or not. Regards Larry From 3mcgrath at comcast.net Thu Aug 7 17:41:53 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Thu, 7 Aug 2008 17:41:53 -0400 Subject: Still can not get revBrowser to load in standalone In-Reply-To: References: Message-ID: Mark, I answered some that I checked right away and the others I will look into tonight and tomorrow. Get back to ya.... On Aug 7, 2008, at 3:55 PM, Mark Schonewille wrote: > > Is all of the following true? > > You YES - have removed old versions of the external YES - have double-checked that revBrowser.bundle is in the application package Did a test button in a substack. No results at runtime. - are making sure that any execution errors are properly displayed in a dialog while running a standalone YES - are running OSX 10.5.4 - have made sure that the externalPackages of stack "revExternalLibrary" contains "revBrowser" while running as a standalone - have checked that the externals property of stack "revExternalLibrary" contains something like "/Users/Tom/Desktop/Test/ MacOSX/Test.app/Contents/MacOS/Externals/revbrowser.bundle" and on Windows it contains "C:/Documents and Settings/Tom/Desktop/Test/ Windows/Externals/revbrowser.dll" - have made sure that the folder/file stated above actually exists and the standalone checks this using syntax like "file... exists" or "folder... exists" and the standalone shows an error message if the file/folder doesn't exist YES - have made sure that the rect property of the browser object is set to an area that is visible on the card - have double-checked this rect and your standalone displays it in a field or dialog window after you have set the rect of the browser object - have checked that the revBrowserGet function returns the correct rectangle NO Stack is a custom window shape - aren't using any custom window shapes - have created an otherwise empty stack, which displays a website in a browser object correctly while running as a standalone on both OSX and Windows - did not put your standalone at root level but it sits in a folder > What made you think that copying revBrowser.bundle to the root level of the DVD would help? Actually it was the opposite. In a previous Windows project from DVD the externals would not load if they were at the root level so I had to put them in a sub folder and change the path in only the windows version to look deeper. So I tried putting the external in both places during trials. But I can't get the Mac version to find the MacrevBrowser which is 'inside'' the darned thing. So if I can fix that then I can look at the windows version. > > -- > Best regards, > > Mark Schonewille From tsj at unimelb.edu.au Thu Aug 7 18:15:09 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 08 Aug 2008 08:15:09 +1000 Subject: Still can not get revBrowser to load in standalone In-Reply-To: Message-ID: Have you tried loading the external 'dynamically'? I used this method (courtesy of Trevor DeVore) with the old altBrowser external and stuck with it when it morphed into revBrowser. Something like... on loadAppExternals if pExternals <> empty then if there is not a stack "myExternals" then reset templateStack set destroyWindow of templateStack to true set destroyStack of templateStack to true set visible of templateStack to false set externals of templateStack to pExternals create stack "myExternals" reset templateStack end if go stack "myExternals" start using stack "myExternals" end if end loadAppExternals ...where pExternals is a return delimited list of the paths to the externals you want to load. BTW there's still a major bug (5125) with revBrowser on Windows (although this remains unconfirmed after more than 12 months), which is that form data is not passed in the browserBeforeNavigate callback. So if you want to handle form data in Rev then you're out of luck! Terry... On 8/8/08 5:22 AM, "Thomas McGrath III" <3mcgrath at comcast.net> wrote: > Dear programmers, > > I still can not seem to get the revBrowser to load from the standalone > I am building. > > It should load since it is in the OSX package but it does not. > > In Windows it will not load either. > > I can really use some help here. > > > Sincerely, > > Tom McGrath > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From jrvalent at wisc.edu Thu Aug 7 18:15:53 2008 From: jrvalent at wisc.edu (Randolph Valentine) Date: Thu, 07 Aug 2008 17:15:53 -0500 Subject: figuring out whether a given font has Unicode Canadian Aboriginal Syllabics glyphs Message-ID: Hi, all. I have a question regarding how to reliably determine that a font is a Unicode font which has Canadian Aboriginal Syllabics (CAS) glyphs. Now evidently because I'm working with Canadian Aborginal Syllabics, even when I use a clearly Unicode font having these glyphs, and ask for the fontlanguage, it gives me ASCI. So I thought would write a script that 1. selects a font, 2. sets a field to that font, 3. puts a CAS character e.g. chartonum(5169) into the field, and if the font isn't Unicode, then no character should show up. My little script (within an option menu that provides the user with all of the fonts from fontnames) looks like this: on menuPick pChosen set the textfont of fld "unicode_tester" to pChosen set the useunicode to true set the unicodetext of fld "unicode_tester" to numtochar(5169) end menuPick The problem is that even when I select a non-unicode font, I am still getting the proper Syllabic character showing up for some reason. Anyone know why, and what I could do to get this to work? Basically, I want my users to be able to tell if a font they pick is a unicode font having Canadian Aboriginal Syllabics. Thank you! rand valentine From m.schonewille at economy-x-talk.com Thu Aug 7 18:19:25 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 Aug 2008 00:19:25 +0200 Subject: Still can not get revBrowser to load in standalone In-Reply-To: References: Message-ID: Hi Tom, Try making the same stack without custom shape. I had a case on Windows, where the custom shape prevented the browser object from being rendered. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 7 aug 2008, at 23:41, Thomas McGrath III wrote: > Mark, > > I answered some that I checked right away and the others I will look > into tonight and tomorrow. Get back to ya.... > > On Aug 7, 2008, at 3:55 PM, Mark Schonewille wrote: >> >> Is all of the following true? >> >> You > YES - have removed old versions of the external > YES - have double-checked that revBrowser.bundle is in the > application package > Did a test button in a substack. No results at runtime. - are making > sure that any execution errors are properly displayed in a dialog > while running a standalone > YES - are running OSX 10.5.4 > - have made sure that the externalPackages of stack > "revExternalLibrary" contains "revBrowser" while running as a > standalone > - have checked that the externals property of stack > "revExternalLibrary" contains something like "/Users/Tom/Desktop/ > Test/MacOSX/Test.app/Contents/MacOS/Externals/revbrowser.bundle" and > on Windows it contains "C:/Documents and Settings/Tom/Desktop/Test/ > Windows/Externals/revbrowser.dll" > - have made sure that the folder/file stated above actually exists > and the standalone checks this using syntax like "file... exists" or > "folder... exists" and the standalone shows an error message if the > file/folder doesn't exist > YES - have made sure that the rect property of the browser object is > set to an area that is visible on the card > - have double-checked this rect and your standalone displays it in a > field or dialog window after you have set the rect of the browser > object > - have checked that the revBrowserGet function returns the correct > rectangle > NO Stack is a custom window shape - aren't using any custom window > shapes > - have created an otherwise empty stack, which displays a website in > a browser object correctly while running as a standalone on both OSX > and Windows > - did not put your standalone at root level but it sits in a folder >> > > > What made you think that copying revBrowser.bundle to the root level > of the DVD would help? > Actually it was the opposite. In a previous Windows project from DVD > the externals would not load if they were at the root level so I had > to put them in a sub folder and change the path in only the windows > version to look deeper. So I tried putting the external in both > places during trials. But I can't get the Mac version to find the > MacrevBrowser which is 'inside'' the darned thing. So if I can fix > that then I can look at the windows version. > > >> >> -- >> Best regards, >> >> Mark Schonewille From tsj at unimelb.edu.au Thu Aug 7 18:23:13 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 08 Aug 2008 08:23:13 +1000 Subject: Still can not get revBrowser to load in standalone In-Reply-To: Message-ID: Which reminds me, I think you have to use a toplevel window. Palettes and modal don't work or at least cause problems (although modeless might be ok). Terry... On 8/8/08 8:19 AM, "Mark Schonewille" wrote: > Hi Tom, > > Try making the same stack without custom shape. I had a case on > Windows, where the custom shape prevented the browser object from > being rendered. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See > http://economy-x-talk.com/server.html > for more info. > > On 7 aug 2008, at 23:41, Thomas McGrath III wrote: > >> Mark, >> >> I answered some that I checked right away and the others I will look >> into tonight and tomorrow. Get back to ya.... >> >> On Aug 7, 2008, at 3:55 PM, Mark Schonewille wrote: >>> >>> Is all of the following true? >>> >>> You >> YES - have removed old versions of the external >> YES - have double-checked that revBrowser.bundle is in the >> application package >> Did a test button in a substack. No results at runtime. - are making >> sure that any execution errors are properly displayed in a dialog >> while running a standalone >> YES - are running OSX 10.5.4 >> - have made sure that the externalPackages of stack >> "revExternalLibrary" contains "revBrowser" while running as a >> standalone >> - have checked that the externals property of stack >> "revExternalLibrary" contains something like "/Users/Tom/Desktop/ >> Test/MacOSX/Test.app/Contents/MacOS/Externals/revbrowser.bundle" and >> on Windows it contains "C:/Documents and Settings/Tom/Desktop/Test/ >> Windows/Externals/revbrowser.dll" >> - have made sure that the folder/file stated above actually exists >> and the standalone checks this using syntax like "file... exists" or >> "folder... exists" and the standalone shows an error message if the >> file/folder doesn't exist >> YES - have made sure that the rect property of the browser object is >> set to an area that is visible on the card >> - have double-checked this rect and your standalone displays it in a >> field or dialog window after you have set the rect of the browser >> object >> - have checked that the revBrowserGet function returns the correct >> rectangle >> NO Stack is a custom window shape - aren't using any custom window >> shapes >> - have created an otherwise empty stack, which displays a website in >> a browser object correctly while running as a standalone on both OSX >> and Windows >> - did not put your standalone at root level but it sits in a folder >>> >> >> >> What made you think that copying revBrowser.bundle to the root level >> of the DVD would help? >> Actually it was the opposite. In a previous Windows project from DVD >> the externals would not load if they were at the root level so I had >> to put them in a sub folder and change the path in only the windows >> version to look deeper. So I tried putting the external in both >> places during trials. But I can't get the Mac version to find the >> MacrevBrowser which is 'inside'' the darned thing. So if I can fix >> that then I can look at the windows version. >> >> >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille > > _______________________________________________ > use-revolution mailing list > use-revolution 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 Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From bdrunrev at gmail.com Thu Aug 7 18:49:49 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Thu, 7 Aug 2008 23:49:49 +0100 Subject: engine crash on open stack (Larry Forsgren) In-Reply-To: <489B61CE.3060702@rmg.net> References: <489B61CE.3060702@rmg.net> Message-ID: Larry, if you want to send me the stack we can see if it is a general problem. Bernard On Thu, Aug 7, 2008 at 9:57 PM, Larry Forsgren wrote: > Hi Sarah > > My mistake. I did mean suppress messages. The engine crashes at the very > same moment I open the stack in the File menu of Revolution whether messages > are suppressed or not. > > Regards > Larry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From lists at futilism.com Thu Aug 7 20:06:18 2008 From: lists at futilism.com (Mark Smith) Date: Fri, 8 Aug 2008 01:06:18 +0100 Subject: ANN: libRevCurl Message-ID: I've made a library that wraps around the curl command line tool. It exposes a lot of settings that give a lot of control, and allows http GET, POST, PUT, DELETE, HEAD, and TRACE. It also allows uploading from a file on disk using either POST or PUT. It only really covers HTTP, but I hope to add FTP and others in later versions. I've been using it in a project I'm working on that makes heavy use of the Amazon Web Services, so that's where it's had the most testing. I've included a short intro pdf, and a small dictionary that covers the most often used (by me) handlers which are the also the most tested. There's a bunch of stuff in there that I haven't yet documented, (and quite a bit, like proxies, that I haven't tested!) for those who want to delve into the innards of it. It allows lots of non-blocking behaviour and multiple simultaneous requests to the same server (necessary for some of the amazon stuff). I've versioned it at 1.0 beta, and any and all comments, suggestions etc, welcome. http://futsoft.futilism.com/revolutionstuff.html Best. Mark Smith From lan.kc.macmail at gmail.com Thu Aug 7 23:16:44 2008 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 8 Aug 2008 11:16:44 +0800 Subject: Re-2: Removing CRLF from text In-Reply-To: References: <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> Message-ID: On Thu, Aug 7, 2008 at 11:34 PM, Ken Ray wrote: > > Actually IIRC, it's done this way to standardize *internal* interpretation > on all the platforms (much like Rev standardizes on forward slash for path > delimiters). That way, regardless of whether the host OS uses LF only, CR > only or CRLF, when text data is read in from the outside it is all > converted > internally to use the LF character (ASCII 10). If you want to read in the > actual end-of-line (EOL) delimiters, you can read the file in *as binary*: > Might then that explain why Mark Stuart could only get the 'binfile' version of a solution to work. Sarah and Jacque told him to replace "+" & CRLF with "", but if what you say is correct, then Rev has already removed CRLFs, no such combo should exist? Mark, although you seem to have got a solution with binfile, does it work with 'file' but just replacing "+" & LF ? Also agree that everything learnt from this thread should make it to the newsletter. I volunteer Mark Stuart ;-) From chipp at chipp.com Fri Aug 8 01:45:47 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 8 Aug 2008 00:45:47 -0500 Subject: OOPS! Can't Undo Deleted Objects In-Reply-To: References: <019501c8f7c4$c2c0b900$0a01010a@ANNIESPUTA> <9b408d8e0808060800r1d252389vf3ddf5f8fe4fdcb9@mail.gmail.com> <020a01c8f7d8$311f9890$0a01010a@ANNIESPUTA> <9b408d8e0808060841k61582c4dy97179f6b10abb6c@mail.gmail.com> Message-ID: <665591460808072245w75974cacv284849d3973a6434@mail.gmail.com> Then there's our altArchive plugin, which has been around since before time-- still works great. http://www.altuit.com/webs/altuit2/altPluginCover/About.htm When used with the altToolbar, it saves the topstack and also creates a serialized backup. -Chipp From andre at andregarzia.com Fri Aug 8 02:52:51 2008 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 8 Aug 2008 03:52:51 -0300 Subject: ANN: libRevCurl In-Reply-To: References: Message-ID: <7c87a2a10808072352k6d0d3116x975cda4eb508a93d@mail.gmail.com> Mark, very nice! I did one myself too... when building CGIs, cURL is the best thing to fetch data since getting libURL and sockets to work on CGI can be tricky. As for your AWS work, have you tried Amazon SimpleDB? Cheers andre On Thu, Aug 7, 2008 at 9:06 PM, Mark Smith wrote: > I've made a library that wraps around the curl command line tool. It exposes > a lot of settings that give a lot of control, and allows http GET, POST, > PUT, DELETE, HEAD, and TRACE. > It also allows uploading from a file on disk using either POST or PUT. > > It only really covers HTTP, but I hope to add FTP and others in later > versions. > > I've been using it in a project I'm working on that makes heavy use of the > Amazon Web Services, so that's where it's had the most testing. > I've included a short intro pdf, and a small dictionary that covers the most > often used (by me) handlers which are the also the most tested. > > There's a bunch of stuff in there that I haven't yet documented, (and quite > a bit, like proxies, that I haven't tested!) for those who want to delve > into the innards of it. > > It allows lots of non-blocking behaviour and multiple simultaneous requests > to the same server (necessary for some of the amazon stuff). > > I've versioned it at 1.0 beta, and any and all comments, suggestions etc, > welcome. > > http://futsoft.futilism.com/revolutionstuff.html > > Best. > Mark Smith > > > _______________________________________________ > use-revolution mailing list > use-revolution 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 mb.userev at harbourhosting.co.uk Fri Aug 8 02:57:26 2008 From: mb.userev at harbourhosting.co.uk (Martin Baxter) Date: Fri, 08 Aug 2008 07:57:26 +0100 Subject: Re-2: Removing CRLF from text In-Reply-To: References: <9b408d8e0808070734q7b572e2fj9a117182a162bc2c@mail.gmail.com> Message-ID: <489BEE56.9090306@harbourhosting.co.uk> Kay C Lan wrote: > On Thu, Aug 7, 2008 at 11:34 PM, Ken Ray wrote: > >> Actually IIRC, it's done this way to standardize *internal* interpretation >> on all the platforms (much like Rev standardizes on forward slash for path >> delimiters). That way, regardless of whether the host OS uses LF only, CR >> only or CRLF, when text data is read in from the outside it is all >> converted >> internally to use the LF character (ASCII 10). If you want to read in the >> actual end-of-line (EOL) delimiters, you can read the file in *as binary*: >> > > Might then that explain why Mark Stuart could only get the 'binfile' version > of a solution to work. > > Sarah and Jacque told him to replace "+" & CRLF with "", but if what you > say is correct, then Rev has already removed CRLFs, no such combo should > exist? > That's correct. > Mark, although you seem to have got a solution with binfile, does it work > with 'file' but just replacing "+" & LF ? > That is an alternative approach that should also work. Martin Baxter -- I am Not a Number, I am a free NaN From bdrunrev at gmail.com Fri Aug 8 04:39:21 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 8 Aug 2008 09:39:21 +0100 Subject: Are crash reports useful In-Reply-To: <4899DF17.8000206@hyperactivesw.com> References: <4899DF17.8000206@hyperactivesw.com> Message-ID: Thanks Jacqueline, I managed to find the logs. This is their location on Vista: C:\Users\\appdata\Roaming\Runtime Revolution\Revolution Studio\Crash Logs I'll enter a bugzilla report and hopefully something useful can be gleaned from them. Bernard Although it says "XP" I believe the reports also work on Vista. The location > of the log on Vista should be in /AppData. Create a bug report in > the QCC and paste the log info into it. That will help the team track down > the cause. Please do submit a bug report, as crashes get top priority. Set > the status of your report as "critical". > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com From toolbook at kestner.de Fri Aug 8 04:43:04 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 8 Aug 2008 10:43:04 +0200 Subject: OT: copy protection / licensing for Mac? Message-ID: <002c01c8f932$c65688a0$18b2a8c0@Kestner.local> Hello, this topic is already discussed a few times, but I didn't found any "satisfying" answers in the archives. I am looking for a copy protection / or licensing system with a minimum on handling / trouble for me which gives a good protection for the average user. No protection against cracks is required, because the quantity of my publication is too low to be in interest for hackers. I want to build a hybrid CD for Mac and Win. Up to now I used ProtectDisc (a german system) which is implemented in my runtime exe, so that my app can be run only with the original CD (which is ok, because my apps are heavy video apps, where the videos always stay on CD. This is a good solution for me, because I don't have any maintenance as supplying a licensing server with serial and all this activation stuff. BUT this technique is only available for Win ( as my CD factory tells me, because the Mac community is "so small"). So that the Mac part of my hybrid CD is unsecured and can be copied. I was already thinking of programming a kind of a "minimum licensing" function for the Mac part, as asking any hardware information from the system, generating a licence key for this number, which I had to pass to the customer. But this would just be a very small obstacle, because any user could ask for the licence key, because the users can buy my product in standard bookshops as amazon, where I don't have any control, if they bought a official copy or if they copied it from a friend. What are your experiences, which systems do you use for protection / easy handling of licensing? Is there at all any copy protection which works for both sides of hybrid CDs? Thanks for sharing your experiences Tiemo From david at openpartnership.net Fri Aug 8 05:08:20 2008 From: david at openpartnership.net (David Bovill) Date: Fri, 8 Aug 2008 10:08:20 +0100 Subject: Creating XML from outlines Message-ID: Does anyone have a function to turn an outline (tab indented indexes) into an XML structure? The functions I have don't quite cut it. From m.schonewille at economy-x-talk.com Fri Aug 8 05:17:06 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 Aug 2008 11:17:06 +0200 Subject: OT: copy protection / licensing for Mac? In-Reply-To: <002c01c8f932$c65688a0$18b2a8c0@Kestner.local> References: <002c01c8f932$c65688a0$18b2a8c0@Kestner.local> Message-ID: Hi Tiemo, For a real hacker, not the quantity but the challenge counts. I created a few installers for clients of mine, some with limited copy protection. You might use the CD serial number incombination with the MAC address of a network device. You can put a few PHP or Perl scripts on a server to create and retrieve a serial number when the software is installed for the first time. This isn't too difficult a thing to do. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info. On 8 aug 2008, at 10:43, Tiemo Hollmann TB wrote: > Hello, > > this topic is already discussed a few times, but I didn't found any > "satisfying" answers in the archives. > > I am looking for a copy protection / or licensing system with a > minimum on > handling / trouble for me which gives a good protection for the > average > user. No protection against cracks is required, because the quantity > of my > publication is too low to be in interest for hackers. I want to > build a > hybrid CD for Mac and Win. Up to now I used ProtectDisc (a german > system) > which is implemented in my runtime exe, so that my app can be run > only with > the original CD (which is ok, because my apps are heavy video apps, > where > the videos always stay on CD. This is a good solution for me, > because I > don't have any maintenance as supplying a licensing server with > serial and > all this activation stuff. BUT this technique is only available for > Win ( as > my CD factory tells me, because the Mac community is "so small"). So > that > the Mac part of my hybrid CD is unsecured and can be copied. > > I was already thinking of programming a kind of a "minimum licensing" > function for the Mac part, as asking any hardware information from the > system, generating a licence key for this number, which I had to > pass to the > customer. But this would just be a very small obstacle, because any > user > could ask for the licence key, because the users can buy my product in > standard bookshops as amazon, where I don't have any control, if > they bought > a official copy or if they copied it from a friend. > > What are your experiences, which systems do you use for protection / > easy > handling of licensing? Is there at all any copy protection which > works for > both sides of hybrid CDs? > > Thanks for sharing your experiences > > Tiemo From lists at futilism.com Fri Aug 8 05:32:06 2008 From: lists at futilism.com (Mark Smith) Date: Fri, 8 Aug 2008 10:32:06 +0100 Subject: ANN: libRevCurl In-Reply-To: <7c87a2a10808072352k6d0d3116x975cda4eb508a93d@mail.gmail.com> References: <7c87a2a10808072352k6d0d3116x975cda4eb508a93d@mail.gmail.com> Message-ID: <6FDC9DAA-7F12-4A06-AD49-2713A0FF2B4B@futilism.com> Andre, I'm using s3, sdb, sqs, and ec2 - and I'm glad they didn't use 25 letter names :) I have libraries for each of them - getting fairly complete now, though I'm still tweaking and adding to them. No docs at all as yet, but if you or anyone else wants to see them, just mail me off-list and I'll send them. They all depend on libRevCurl. Best, Mark On 8 Aug 2008, at 07:52, Andre Garzia wrote: > Mark, > > very nice! I did one myself too... when building CGIs, cURL is the > best thing to fetch data since getting libURL and sockets to work on > CGI can be tricky. > > As for your AWS work, have you tried Amazon SimpleDB? > > Cheers > andre > > On Thu, Aug 7, 2008 at 9:06 PM, Mark Smith wrote: >> I've made a library that wraps around the curl command line tool. >> It exposes >> a lot of settings that give a lot of control, and allows http GET, >> POST, >> PUT, DELETE, HEAD, and TRACE. >> It also allows uploading from a file on disk using either POST or >> PUT. >> >> It only really covers HTTP, but I hope to add FTP and others in later >> versions. >> >> I've been using it in a project I'm working on that makes heavy >> use of the >> Amazon Web Services, so that's where it's had the most testing. >> I've included a short intro pdf, and a small dictionary that >> covers the most >> often used (by me) handlers which are the also the most tested. >> >> There's a bunch of stuff in there that I haven't yet documented, >> (and quite >> a bit, like proxies, that I haven't tested!) for those who want to >> delve >> into the innards of it. >> >> It allows lots of non-blocking behaviour and multiple simultaneous >> requests >> to the same server (necessary for some of the amazon stuff). >> >> I've versioned it at 1.0 beta, and any and all comments, >> suggestions etc, >> welcome. >> >> http://futsoft.futilism.com/revolutionstuff.html >> >> Best. >> Mark Smith >> >> >> _______________________________________________ >> use-revolution mailing list >> use-revolution 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 tsj at unimelb.edu.au Fri Aug 8 05:50:35 2008 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 08 Aug 2008 19:50:35 +1000 Subject: OT: copy protection / licensing for Mac? In-Reply-To: <002c01c8f932$c65688a0$18b2a8c0@Kestner.local> Message-ID: I'm almost certain SecuROM is cross-platform. We delivered a couple of educational products using it (the clients, for reasons that are beyond me, insisted on encryption despite a relatively small market for the software). It seems to be fairly expensive to setup but the unit price isn't too bad if you're doing reasonable batch sizes. >From memory there is a software tool that lets you do the encryption stuff yourself on the Windows side of things but you have to send off your Mac executable to get it 'fixed' by their guys. It must work with Rev apps because we used it on a big medical imaging project I did a while back and I haven't heard of any complaints from end users. HTH, Terry... On 8/8/08 6:43 PM, "Tiemo Hollmann TB" wrote: > Hello, > > this topic is already discussed a few times, but I didn't found any > "satisfying" answers in the archives. > > I am looking for a copy protection / or licensing system with a minimum on > handling / trouble for me which gives a good protection for the average > user. No protection against cracks is required, because the quantity of my > publication is too low to be in interest for hackers. I want to build a > hybrid CD for Mac and Win. Up to now I used ProtectDisc (a german system) > which is implemented in my runtime exe, so that my app can be run only with > the original CD (which is ok, because my apps are heavy video apps, where > the videos always stay on CD. This is a good solution for me, because I > don't have any maintenance as supplying a licensing server with serial and > all this activation stuff. BUT this technique is only available for Win ( as > my CD factory tells me, because the Mac community is "so small"). So that > the Mac part of my hybrid CD is unsecured and can be copied. > > I was already thinking of programming a kind of a "minimum licensing" > function for the Mac part, as asking any hardware information from the > system, generating a licence key for this number, which I had to pass to the > customer. But this would just be a very small obstacle, because any user > could ask for the licence key, because the users can buy my product in > standard bookshops as amazon, where I don't have any control, if they bought > a official copy or if they copied it from a friend. > > What are your experiences, which systems do you use for protection / easy > handling of licensing? Is there at all any copy protection which works for > both sides of hybrid CDs? > > Thanks for sharing your experiences > > Tiemo > > > > > > > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution -- Dr Terry Judd Lecturer in Educational Technology (Design) Biomedical Multimedia Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne Parkville VIC 3052 AUSTRALIA 61-3 8344 0187 From bvg at mac.com Fri Aug 8 06:29:21 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 08 Aug 2008 12:29:21 +0200 Subject: OT: copy protection / licensing for Mac? In-Reply-To: References: Message-ID: <364AC70E-2B81-4C52-9A3F-13C2970F713B@mac.com> On 8 Aug 2008, at 11:50, Terry Judd wrote: > I'm almost certain SecuROM is cross-platform. The problem with most "Security" systems you can buy is that they often cause instabilities, slowdowns and malfunctions on your customers pc's, and you'll be unable to rectify them. As these systems are a prime target for hackers, their main selling point about being better against real hacking attempts are invalid. For Securing your investment, there's only three factors to evaluate: 1. How will regular customers be handicapped or disturbed by these measures 2. How much time (respectively money) do I need to implement and support the security solution 3. How easy will casual copying be Unfortunately many developers still think in terms of prohibiting hacking, which is similar academic as trying to stop spam from reaching your openly shown e-mail address. As for a recommendation, You could calculate a unique identifier, which is sent to you via the web once. Alternatively you can check for a certain file being on the CD. If you can make unique files onto them, then you could connect a unique number with the CD, similar to a dongle. But most customers only have one, maximal two CD or DVD drives, so they'll be greatly dissatisfied with any solution that constantly needs a CD inserted (Factor nr. 1). Have Fun Bj?rnke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From toolbook at kestner.de Fri Aug 8 07:57:43 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 8 Aug 2008 13:57:43 +0200 Subject: AW: OT: copy protection / licensing for Mac? In-Reply-To: Message-ID: <003e01c8f94d$fa2a66e0$18b2a8c0@Kestner.local> Hi Mark, > > For a real hacker, not the quantity but the challenge counts. > ;) > > I created a few installers for clients of mine, some with limited copy > protection. You might use the CD serial number incombination with the > MAC address of a network device. You can put a few PHP or Perl scripts > on a server to create and retrieve a serial number when the software > is installed for the first time. This isn't too difficult a thing to do. > Hmm I am not used to PHP, so even this small solution would be too much effort for me, as Bj?rnke said in 2. From toolbook at kestner.de Fri Aug 8 07:59:34 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 8 Aug 2008 13:59:34 +0200 Subject: AW: OT: copy protection / licensing for Mac? In-Reply-To: Message-ID: <003f01c8f94e$3d636ab0$18b2a8c0@Kestner.local> Hi Terry, I will have a look for SecuROM, probably I have to find a new "burning factory" (how do you call this in English?) how works with SecuROM Thanks for the hint Tiemo > > I'm almost certain SecuROM is cross-platform. We delivered a couple of > educational products using it (the clients, for reasons that are beyond > me, > insisted on encryption despite a relatively small market for the > software). > It seems to be fairly expensive to setup but the unit price isn't too bad > if > you're doing reasonable batch sizes. > > >From memory there is a software tool that lets you do the encryption > stuff > yourself on the Windows side of things but you have to send off your Mac > executable to get it 'fixed' by their guys. It must work with Rev apps > because we used it on a big medical imaging project I did a while back and > I > haven't heard of any complaints from end users. > > HTH, > > Terry... > From 3mcgrath at comcast.net Fri Aug 8 08:55:59 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 8 Aug 2008 08:55:59 -0400 Subject: Still can not get revBrowser to load in standalone In-Reply-To: References: Message-ID: <6DA93F45-C2F2-45CE-A21E-9702B007D9E3@comcast.net> OK, Mark, I will try these today to see if I can track this down. I am still thinking that this is a Paths issue. What is the best way to ensure the path to the external, once built, on both Mac and Windows? From a DVD? Thanks again, Tom McGrath On Aug 7, 2008, at 6:19 PM, Mark Schonewille wrote: > Hi Tom, > > Try making the same stack without custom shape. I had a case on > Windows, where the custom shape prevented the browser object from > being rendered. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html > for more info. > From 3mcgrath at comcast.net Fri Aug 8 08:57:44 2008 From: 3mcgrath at comcast.net (Thomas McGrath III) Date: Fri, 8 Aug 2008 08:57:44 -0400 Subject: Still can not get revBrowser to load in standalone In-Reply-To: References: Message-ID: Terry, I played with loading it myself but was in the middle of troubleshooting and may not have been doing it right. I will attempt doing it manually and see if there is a difference. Thanks Tom McGrath On Aug 7, 2008, at 6:15 PM, Terry Judd wrote: > Have you tried loading the external 'dynamically'? I used this method > (courtesy of Trevor DeVore) with the old altBrowser external and > stuck with > it when it morphed into revBrowser. > > Something like... > > on loadAppExternals > if pExternals <> empty then > if there is not a stack "myExternals" then > reset templateStack > set destroyWindow of templateStack to true > set destroyStack of templateStack to true > set visible of templateStack to false > set externals of templateStack to pExternals > create stack "myExternals" > reset templateStack > end if > go stack "myExternals" > start using stack "myExternals" > end if > end loadAppExternals > > ...where pExternals is a return delimited list of the paths to the > externals > you want to load. > > BTW there's still a major bug (5125) with revBrowser on Windows > (although > this remains unconfirmed after more than 12 months), which is that > form data > is not passed in the browserBeforeNavigate callback. So if you want to > handle form data in Rev then you're out of luck! > > Terry... From toolbook at kestner.de Fri Aug 8 09:22:21 2008 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 8 Aug 2008 15:22:21 +0200 Subject: AW: OT: copy protection / licensing for Mac? In-Reply-To: <364AC70E-2B81-4C52-9A3F-13C2970F713B@mac.com> Message-ID: <004301c8f959$cadce960$18b2a8c0@Kestner.local> Hi Bj?rnke, your three are just the points, I am calculating too. Thats why I used up to now the ProtectCD lock, which is without any implementation from my side, pretty errorless (less than 0,5% support cases), not to be copied for the standard user and in my case no disturbing for having the CD inserted, because it runs off the CD anyway. (alternatively could the CD only being inserted once a month or so) Thanks for your thoughts Tiemo > > > I'm almost certain SecuROM is cross-platform. > > The problem with most "Security" systems you can buy is that they > often cause instabilities, slowdowns and malfunctions on your > customers pc's, and you'll be unable to rectify them. As these systems > are a prime target for hackers, their main selling point about being > better against real hacking attempts are invalid. > > For Securing your investment, there's only three factors to evaluate: > > 1. How will regular customers be handicapped or disturbed by these > measures > 2. How much time (respectively money) do I need to implement and > support the security solution > 3. How easy will casual copying be > > Unfortunately many developers still think in terms of prohibiting > hacking, which is similar academic as trying to stop spam from > reaching your openly shown e-mail address. > > As for a recommendation, You could calculate a unique identifier, > which is sent to you via the web once. Alternatively you can check for > a certain file being on the CD. If you can make unique files onto > them, then you could connect a unique number with the CD, similar to a > dongle. But most customers only have one, maximal two CD or DVD > drives, so they'll be greatly dissatisfied with any solution that > constantly needs a CD inserted (Factor nr. 1). > > Have Fun > Bj?rnke > From ambassador at fourthworld.com Fri Aug 8 11:23:50 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Aug 2008 08:23:50 -0700 Subject: OT: copy protection / licensing for Mac? Message-ID: <489C6506.3060700@fourthworld.com> Tiemo wrote: > this topic is already discussed a few times, but I didn't found any > "satisfying" answers in the archives. What would be "satisfying"? You won't find much in the way of actual code published here for this, since it would make it too easy for crackers to make keygens. -- Richard Gaskin Managing Editor, revJournal _______________________________________________________ Rev tips, tutorials and more: http://www.revJournal.com From devin_asay at byu.edu Fri Aug 8 12:09:53 2008 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 8 Aug 2008 10:09:53 -0600 Subject: figuring out whether a given font has Unicode Canadian Aboriginal Syllabics glyphs In-Reply-To: References: Message-ID: On Aug 7, 2008, at 4:15 PM, Randolph Valentine wrote: > Hi, all. I have a question regarding how to reliably determine that > a font > is a Unicode font which has Canadian Aboriginal Syllabics (CAS) > glyphs. Now > evidently because I'm working with Canadian Aborginal Syllabics, > even when I > use a clearly Unicode font having these glyphs, and ask for the > fontlanguage, it gives me ASCI. So I thought would write a script > that 1. > selects a font, 2. sets a field to that font, 3. puts a CAS > character e.g. > chartonum(5169) into the field, and if the font isn't Unicode, then no > character should show up. My little script (within an option menu that > provides the user with all of the fonts from fontnames) looks like > this: > > on menuPick pChosen > set the textfont of fld "unicode_tester" to pChosen > set the useunicode to true > set the unicodetext of fld "unicode_tester" to numtochar(5169) > end menuPick > > The problem is that even when I select a non-unicode font, I am still > getting the proper Syllabic character showing up for some reason. > Anyone > know why, and what I could do to get this to work? Basically, I want > my > users to be able to tell if a font they pick is a unicode font having > Canadian Aboriginal Syllabics. Thank you! Hi Rand, Unfortunately, Unicode in Rev doesn't give you much control over the font the characters are displayed in. When you request a unicode character, the OS takes over and finds a suitable font (if any) to display it in. You really have little control over it. It is a known issue. See . There is a possible workaround. Try something like this (not tested, but I've used this technique lots): on menuPick pChosen set the useunicode to true set the unicodetext of fld "unicode_tester" to numtochar(5169) put the textFont of char 1 of fld "unicode_tester" into tFont1 get the htmlText of fld "unicode_tester" replace tFont1 with pChosen in it set the htmlText of fld "unicode_tester" to it end menuPick If you examine the htmlText of a field with unicode text in it, you'll see the tags with face= elements that define the font for unicode characters. The characters themselves are HTML unicode entities. I've had good success changing fonts by just replacing the face= element in font tags like this. Another thing that might work is: set the useunicode to true set the unicodetext of fld "unicode_tester" to numtochar(5169) put the textFont of char 1 of fld "unicode_tester" into tFont1 replace item 1 of tFont1 with pChosen set the unicodeText of char 1 of fld "unicode_tester" to tFont1 I'll be interested in hearing if this works for you. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From devin_asay at byu.edu Fri Aug 8 12:20:40 2008 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 8 Aug 2008 10:20:40 -0600 Subject: figuring out whether a given font has Unicode Canadian Aboriginal Syllabics glyphs In-Reply-To: References: Message-ID: <677B19C4-2D78-4E1C-A1B2-D6A13FECC0E3@byu.edu> On Aug 8, 2008, at 10:09 AM, Devin Asay wrote: > > set the useunicode to true > set the unicodetext of fld "unicode_tester" to numtochar(5169) > put the textFont of char 1 of fld "unicode_tester" into tFont1 > replace item 1 of tFont1 with pChosen > set the unicodeText of char 1 of fld "unicode_tester" to tFont1 xxxxxxxxxxxx That should be set the textFont of char 1 of fld "unicode_tester" to tFont1 -------- Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From lfredricks at proactive-intl.com Fri Aug 8 14:32:44 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 8 Aug 2008 11:32:44 -0700 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 Message-ID: <009201c8f985$26978550$6501a8c0@GATEWAY> Hello all, I am announcing this here and now so we can avoid the "What the heck is up with Mirye!?" questions later :-) There are many, many long term Revolution users and developers here who are very interested in the health of Revolution as a product in the industry. Also, its 08/08/2008, the lucky day in China for kicking off the Olympics - perfect for our 808 release. Mirye Software Publishing publishes Runtime Revolution in several markets, including North America and Japan. We aren't Runtime of course, but our goals are in cooperation with Runtime to bring Revolution to new customer groups and expand Revolution availability so its possible for more customers to get it. One large corporate customer, for example, only sources product purchases through specific corporate/government authorized partners, and we'd otherwise not have them using Revolution. We've made some great strides in penetrating the digital production market - getting in the front door with Revolution Media and then customers loving it so much they upgrade later. Customers in this market space tend to use more types of tools and have more complex pipelines for developing projects. To make Revolution even more attractive to this market, and not being able to touch the source code of Revolution, we are modifying how we release Revolution. Mirye Runtime Revolution therefore has a monthly, magazine-like "issue" that includes not only the software itself, but also: 1. Long Term Benefits. Additional add-on functionality that all customers receive 2. Short Term Benefits. Add-ons that you must download during the specific time period during which it is released 3. News, Articles and Other Information. Just like it says - information that is useful and interesting to our customers, including recent activities. Lightweight this month, but watch for expanded articles in months to come. To get the "issue" benefits, you have to be in good standing with us - this means being qualified for upgrades of the Mirye release. This method of release comes after many years of selling tools in the digital production market and how product releases are managed in that market space. "Release 0808: What to Do With Your Summer" is our first release using this method. You can read about this release here on the Mirye site at http://www.mirye.com and the benefits it includes. Even if you've already upgraded or renewed through Runtime, stop by and read the news. Have a great weekend! Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From mikeythek at gmail.com Fri Aug 8 15:49:26 2008 From: mikeythek at gmail.com (Mikey) Date: Fri, 8 Aug 2008 15:49:26 -0400 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <009201c8f985$26978550$6501a8c0@GATEWAY> References: <009201c8f985$26978550$6501a8c0@GATEWAY> Message-ID: <9b408d8e0808081249j48b0696ew49ff37eec32c099b@mail.gmail.com> Um, I don't get it. What is Mirye and how does this affect me? From runrev260805 at m-r-d.de Fri Aug 8 15:55:57 2008 From: runrev260805 at m-r-d.de (runrev260805 at m-r-d.de) Date: Fri, 8 Aug 2008 19:55:57 +0000 Subject: OT: 3D Modelling Software Caligari Truespace now for free Message-ID: <000314AC.489CC0E9@the-office.us> Hi, maybe this is of some interest for some of you. After acquiring 3D specialist Caligari, Microsoft is giving away the software Caligari Truespace 7.6 for free. Before that, the software was sold for US$600 to customers. Only a registration is required. After registration you can download the full version of Truespace 7.6 Windows, a manual and also video tutorials (which were sold for US$79 before). Read more here http://blogs.msdn.com/pblog/archive/2008/07/24/more-free-software-from-microsoft-caligari-truespace-7-6.aspx or go here to register and download http://cart1.caligari.com/web/Truespacemainreg.aspx Regards, Matthias From chipp at chipp.com Fri Aug 8 16:29:25 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 8 Aug 2008 15:29:25 -0500 Subject: "the effective visibility" Message-ID: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> Trying to figure out how to find "the effective visibility" property of a control. Here's why: Say you have 2 buttons: "red" and "blue" in a group. If you put in msg: put the vis of btn "red" it will return "true" If you HIDE the group with the 2 buttons then put the vis of btn "red" it still returns "true" even though the button is not visible. It is of course visible w/regard to the group, just not on the card. How can i figure out whether the button is ACTUALLY visible? Don't assume the button is even in a group. From lfredricks at proactive-intl.com Fri Aug 8 16:32:34 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 8 Aug 2008 13:32:34 -0700 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <9b408d8e0808081249j48b0696ew49ff37eec32c099b@mail.gmail.com> References: <009201c8f985$26978550$6501a8c0@GATEWAY> <9b408d8e0808081249j48b0696ew49ff37eec32c099b@mail.gmail.com> Message-ID: <00e901c8f995$e3f1d820$6501a8c0@GATEWAY> > Um, I don't get it. What is Mirye and how does this affect me? If you are one of our customers, it affects you. If not, it may be of interest to you anyway if you are interested in how we are getting the word out about Revolution. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From m.schonewille at economy-x-talk.com Fri Aug 8 16:38:11 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 8 Aug 2008 22:38:11 +0200 Subject: "the effective visibility" In-Reply-To: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> Message-ID: <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> Hi Chipp, I believe this has been reported as a bug to QCC. -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 8-aug-2008, om 22:29 heeft Chipp Walters het volgende geschreven: > Trying to figure out how to find "the effective visibility" property > of a control. > > Here's why: > > Say you have 2 buttons: "red" and "blue" in a group. > > If you put in msg: > > put the vis of btn "red" > > it will return "true" > > If you HIDE the group with the 2 buttons then > > put the vis of btn "red" > > it still returns "true" even though the button is not visible. It is > of course visible w/regard to the group, just not on the card. How can > i figure out whether the button is ACTUALLY visible? Don't assume the > button is even in a group. From mikeythek at gmail.com Fri Aug 8 16:41:37 2008 From: mikeythek at gmail.com (Mikey) Date: Fri, 8 Aug 2008 16:41:37 -0400 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <00e901c8f995$e3f1d820$6501a8c0@GATEWAY> References: <009201c8f985$26978550$6501a8c0@GATEWAY> <9b408d8e0808081249j48b0696ew49ff37eec32c099b@mail.gmail.com> <00e901c8f995$e3f1d820$6501a8c0@GATEWAY> Message-ID: <9b408d8e0808081341t724fd538k5a570ce3036b04ff@mail.gmail.com> OK, then perhaps a different explanation might be of use, since I am not one of your customers, and I still don't get it. From chipp at chipp.com Fri Aug 8 16:49:49 2008 From: chipp at chipp.com (Chipp Walters) Date: Fri, 8 Aug 2008 15:49:49 -0500 Subject: "the effective visibility" In-Reply-To: <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> Message-ID: <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> Well, it doesn't solve my problem at this time. I suppose I'll have to write a parent recursive routine "isEffectiveVisibile" to walk through all the groups. Ken Ray pointed out sharply this isn't the case with 'disabled.' When you disable a group, it disables all the controls within the group. If anyone already has an "isEffectiveVisible" function, let me know. best, Chipp From lfredricks at proactive-intl.com Fri Aug 8 17:43:24 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 8 Aug 2008 14:43:24 -0700 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <9b408d8e0808081341t724fd538k5a570ce3036b04ff@mail.gmail.com> References: <009201c8f985$26978550$6501a8c0@GATEWAY><9b408d8e0808081249j48b0696ew49ff37eec32c099b@mail.gmail.com><00e901c8f995$e3f1d820$6501a8c0@GATEWAY> <9b408d8e0808081341t724fd538k5a570ce3036b04ff@mail.gmail.com> Message-ID: <010601c8f99f$c953fca0$6501a8c0@GATEWAY> > OK, then perhaps a different explanation might be of use, > since I am not one of your customers, and I still don't get it. Mirye sells Revolution too, but we are putting out a kind of update every month, and that includes additional benefits for customers. We don't change the software itself, but we can add stuff to the collective product. Also, there will be news and articles. It's a sort of magazine style release that provides additional benefits over a shorter amount of time. Most dev tool vendors follow a standard release method of releasing a X.0 major release, then doing a series of minor releases over X amount of time. That X amount of time isnt always uniform, although at least one other vendor does lock step their releases that way. So you have 2.8, 2.8.1, 2.8.2, 2.9, etc. Our approach is similar to how to some digital media tool vendors work. The core product is released and updated, but there are updates/additions/improvements of other things which are not core to the product. This has the advantage of making a time based update plan more valuable, because you can expect useful items each month. Compare two release methods of "subscriptions" you are likely already familiar with: antivirus software and your favorite word processor. Your word processor may have come with X amount of time you'll get free updates. Or, you may be entitled to all minor updates for a specific version. Or both. For example, if you bought Word 2003 shortly before Word 2007 came out, you may have gotten a free upgrade. But if you bought Word 2003 a year ago, you got X number of updates during the lifetime of Word 2003. Now look at anti-virus software. Its probably updated near to a weekly schedule (esp if you are running a windows box!), so you can get a meaningful "value" even a few times a week during the 1 year subscription period. When you get Revolution with no early update, you get 3 months of updates. How many updates is that? It could be none, or it could be three. That's either lucky or unlucky depending on how you look at it. Our new release method makes sure you get something useful for each month of updates you have coming, even if the core software itself is updated irregularly, often or not at all. It also gives us a way to engage customers more by way of feedback on whats provided, and simply just asking, what else they'd find useful for their projects - this doesn't remove the value of formal surveys either of course. If Revolution wasn't a great product at integrating such a variety of sources (data, images, video, audio, etc) and more like Visual Basic, this wouldn't work all that well. Fortunately Revolution is very appealing to rich media developers and designers (as well as more traditional application programmers) and this is a good approach. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From bvg at mac.com Fri Aug 8 18:34:42 2008 From: bvg at mac.com (=?ISO-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 09 Aug 2008 00:34:42 +0200 Subject: [ANN] 3 Small updates Message-ID: <7EF67726-6D0D-44D8-B32B-4D35B1C986B4@mac.com> Hi guys I just made 3 small updates: 1. The homepage at http://www.bjoernke.com/runrev/ has been overhauled. Among the changes is a move of the chatrev page to a subpage of the mentioned runrev part of my site. 2. ChatRev 1.3b3 has been released. This contains some small changes, among them is Metacard compatibility, and getting rid of the annoying logout popup. ChatRev is a Chat completely written in Rev (the server too). During European daytime there's always some people there to ask coding questions or preferable socialise with. 3. BvG Docu 1.2 has been released. This contains some smallish changes, mostly considering rendering errors. BvG Docu is a replacement for the build in Rev Dictionary GUI. The main advantages are better speed and a more concise filtering of the searched terms. Have fun Bj?rnke -- official ChatRev page: http://chatrev.bjoernke.com Chat with other RunRev developers: go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev" From ambassador at fourthworld.com Fri Aug 8 18:47:36 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Aug 2008 15:47:36 -0700 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 Message-ID: <489CCD08.6000604@fourthworld.com> Why is Meshbox called "Meshbox" and not "Mirye Meshbox"? -- Richard Gaskin Fourth World Media Corporation ___________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Fri Aug 8 23:25:50 2008 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Aug 2008 20:25:50 -0700 Subject: OT: HP Lovecraft fonts Message-ID: <104116912500.20080808202550@ahsoftware.net> All- For no apparent reason, I am posting here the news that the folks at the Cthulhu Lives website have made some very nice fonts available for free download based on HP Lovecraft's writing styles. Of the free fonts, I find the BlackLetter fonts a bit over the top, but OldStyle and Telegram are a hoot. "Typographical fashions change, and since the digital age overtook typesetting and graphic design, many of the fonts common in the time of Lovecraft have fallen into disuse. We've revived many of them from vintage sources..." http://www.cthulhulives.org/toybox/PROPDOCS/PropFonts.html -- -Mark Wieder mwieder at ahsoftware.net From larry at rmg.net Fri Aug 8 23:48:13 2008 From: larry at rmg.net (Larry Forsgren) Date: Fri, 08 Aug 2008 22:48:13 -0500 Subject: engine crash on open stack (Larry Forsgren) Message-ID: <489D137D.7070904@rmg.net> Hi Bernard Thank for taking interest in this. I have send you the stack. Regards Larry From ambassador at fourthworld.com Sat Aug 9 01:06:05 2008 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Aug 2008 22:06:05 -0700 Subject: OT: HP Lovecraft fonts Message-ID: <489D25BD.4010807@fourthworld.com> Mark Wieder wrote: > For no apparent reason, I am posting here the news that the folks at > the Cthulhu Lives website have made some very nice fonts available for > free download based on HP Lovecraft's writing styles. Of the free > fonts, I find the BlackLetter fonts a bit over the top, but OldStyle > and Telegram are a hoot. > > "Typographical fashions change, and since the digital age overtook > typesetting and graphic design, many of the fonts common in the time > of Lovecraft have fallen into disuse. We've revived many of them from > vintage sources..." > > http://www.cthulhulives.org/toybox/PROPDOCS/PropFonts.html Mark, the breadth of your interests continues to amaze me. Your timing is uncanny: just last night I pulled "The Dream-Quest of Unknown Kadath" down from my shelf for a re-read. :) I'm going to go download these fonts ASAP. Thanks! -- Richard Gaskin -------------------------------------------- Vote Cthulhu: Why settle for a lesser evil? From bdrunrev at gmail.com Sat Aug 9 03:44:02 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 9 Aug 2008 08:44:02 +0100 Subject: engine crash on open stack (Larry Forsgren) In-Reply-To: <489D137D.7070904@rmg.net> References: <489D137D.7070904@rmg.net> Message-ID: Larry, well, we've established that it's a general problem - it crashes Rev for me too. I even went to http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm, and downloaded StackRunner to try and run your stack without any of the IDE-related stuff getting in the way, but it crashed that too. All I can suggest at this stage is that you take the crash log it generates and send it to runrev.com (see the recent thread 'are crash logs useful'). Maybe they can diagnose that for you and give you some help. Bernard On Sat, Aug 9, 2008 at 4:48 AM, Larry Forsgren wrote: > Hi Bernard > > Thank for taking interest in this. > I have send you the stack. > > Regards > Larry > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > From eric.chatonet at sosmartsoftware.com Sat Aug 9 04:14:24 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Aug 2008 10:14:24 +0200 Subject: "the effective visibility" In-Reply-To: <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> Message-ID: <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> Bonjour Chipp, Le 8 ao?t 08 ? 22:49, Chipp Walters a ?crit : > If anyone already has an "isEffectiveVisible" function, let me know. IsVisible returns any control effective visibility: function IsVisible pObj if not the visible of pObj then return false repeat until "Card" is word 1 of the long owner of pObj put the long owner of pObj into pObj if not the visible of pObj then return false end repeat return true end IsVisible ObjOwners lists the owners of an object: function ObjOwners pObj -- return the owners of any object until the card (not included) local tOwner,tOwners ----- put pObj into tOwner repeat until "Card" is word 1 of the long owner of tOwner put the long owner of tOwner & cr after tOwners put the long owner of tOwner into tOwner end repeat if tOwners = empty then return pObj return pObj & cr & line 1 to -1 of tOwners end ObjOwners OutOfCardWindow returns is an object is out of the card window: function OutOfCardWindow pObj,pCard if the left of pObj > the right of pCard then return true if the right of pObj < 0 then return true if the bottom of pObj < 0 then return true if the top of pObj > the bottom of pCard then return true return false end OutOfCardWindow IsHiddenByAnotherControl checks if a control can be hidden by another one: function IsHiddenByAnotherControl pObj,pCard repeat with i = (the layer of pObj + 1) to the number of controls of pCard if the topLeft of pObj is within the rect of control i of pCard and the botright of pObj is within the rect of control i of pCard and the opaque of control i of pCard then return true end repeat return false end IsHiddenByAnotherControl Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From m.schonewille at economy-x-talk.com Sat Aug 9 05:11:44 2008 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 9 Aug 2008 11:11:44 +0200 Subject: "the effective visibility" In-Reply-To: <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> Message-ID: <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> Hi Eric, You don't take the visible of a stack into account ;-) -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz Op 9-aug-2008, om 10:14 heeft Eric Chatonet het volgende geschreven: > Bonjour Chipp, > > Le 8 ao?t 08 ? 22:49, Chipp Walters a ?crit : > >> If anyone already has an "isEffectiveVisible" function, let me know. > > IsVisible returns any control effective visibility: > > function IsVisible pObj > if not the visible of pObj then return false > repeat until "Card" is word 1 of the long owner of pObj > put the long owner of pObj into pObj > if not the visible of pObj then return false > end repeat > return true > end IsVisible > > ObjOwners lists the owners of an object: > From eric.chatonet at sosmartsoftware.com Sat Aug 9 05:44:40 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Aug 2008 11:44:40 +0200 Subject: "the effective visibility" In-Reply-To: <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> Message-ID: <50030BB6-F1CE-4DE5-ADAD-9398915D5864@sosmartsoftware.com> Bonjour Mark, You are right :-) But practically, it's not necessary to know the visible of a stack in most cases. In addition, a complete IsEffectiveVisible (I mean visible by the user) function should take into account many other things: Is the stack on-screen, is its window overlaid by another one; The same for the control, etc. ;-) Le 9 ao?t 08 ? 11:11, Mark Schonewille a ?crit : > Hi Eric, > > You don't take the visible of a stack into account ;-) > > -- > > Economy-x-Talk > Consultancy and Software Engineering > http://economy-x-talk.com > http://www.salery.biz > > Get your store on-line within minutes with Salery Web Store > software. Download at http://www.salery.biz > > Op 9-aug-2008, om 10:14 heeft Eric Chatonet het volgende geschreven: > >> Bonjour Chipp, >> >> Le 8 ao?t 08 ? 22:49, Chipp Walters a ?crit : >> >>> If anyone already has an "isEffectiveVisible" function, let me know. >> >> IsVisible returns any control effective visibility: >> >> function IsVisible pObj >> if not the visible of pObj then return false >> repeat until "Card" is word 1 of the long owner of pObj >> put the long owner of pObj into pObj >> if not the visible of pObj then return false >> end repeat >> return true >> end IsVisible >> >> ObjOwners lists the owners of an object: >> > Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From david at openpartnership.net Sat Aug 9 06:05:25 2008 From: david at openpartnership.net (David Bovill) Date: Sat, 9 Aug 2008 11:05:25 +0100 Subject: "the effective visibility" In-Reply-To: <50030BB6-F1CE-4DE5-ADAD-9398915D5864@sosmartsoftware.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> <50030BB6-F1CE-4DE5-ADAD-9398915D5864@sosmartsoftware.com> Message-ID: Thanks for those Eric - I've got a general question about the use of "the long owner". I know that in the old days it was safer to take the long id of the target and delete the first 4 words to get the long id of the owner (so you could reference it from anywhere) - is this not necessary any more? From chipp at chipp.com Sat Aug 9 06:11:31 2008 From: chipp at chipp.com (Chipp Walters) Date: Sat, 9 Aug 2008 05:11:31 -0500 Subject: "the effective visibility" In-Reply-To: <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> Message-ID: <665591460808090311y4d25643fi26e60245dd7c5412@mail.gmail.com> Thanks Eric, Here's what I ended up with: function altEffectiveVisible pLongControlName if not the vis of pLongControlName then return false replace "group" with cr & "group" in pLongControlName filter pLongControlName with "group*" repeat for each line L in pLongControlName put offset(" of",L) into tEnd put char 1 to tEnd-1 of L into tGrpName if the vis of tGrpName is false then return false end repeat return true end altEffectiveVisible Didn't know about the long owner...time to check it out! Thanks :-) From david at openpartnership.net Sat Aug 9 06:13:17 2008 From: david at openpartnership.net (David Bovill) Date: Sat, 9 Aug 2008 11:13:17 +0100 Subject: "the effective visibility" In-Reply-To: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> Message-ID: On a similar note I wish there was a "visible rect" property. I have some routines that try and work out what part of an object is visible, taking into account margins, borders, and so forth so that scripts can position them to line up with other objects. I've never got them to work perfectly, which means my custom geometry handling scripts don't work as well as they could. I also have had problems with geometry for stacks / controls that are not visible - I often want to reset the geometry while things are hidden then show the result, but in the past have found that certain geometry functions return empty when the object is nto visible? Anyone found this? From eric.chatonet at sosmartsoftware.com Sat Aug 9 07:12:49 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Aug 2008 13:12:49 +0200 Subject: "the effective visibility" In-Reply-To: References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> <50030BB6-F1CE-4DE5-ADAD-9398915D5864@sosmartsoftware.com> Message-ID: <35EF6017-4B40-41F5-A5B9-09052F453246@sosmartsoftware.com> Bonjour David, AFAIK the owner's property is reliable as long as you don't try to code some expression using the owner of the owner of the owner of tObj... Using this form, I have got unexpected results. On the other hand, the long owner is the long name of the owner and I would prefer if it was the long ID: There are cases where you have to 'get' the long ID of the owner of tObj to be safe... I am thinking of hundreds of groups created on the fly for instance. In the function I posted about the effective 'visible' of a control, I stop recursion when the card level is reached: the visible of 'card' throws an error: Once more, this could be fixed at the level engine to return true in all cases for a card since it makes a 'hole' into the hierarchy: any control gets a visible property, any stack too but not a card :-( Hope this clarifies ;-) Le 9 ao?t 08 ? 12:05, David Bovill a ?crit : > Thanks for those Eric - I've got a general question about the use > of "the > long owner". I know that in the old days it was safer to take the > long id of > the target and delete the first 4 words to get the long id of the > owner (so > you could reference it from anywhere) - is this not necessary any > more? Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From bdrunrev at gmail.com Sat Aug 9 07:56:03 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 9 Aug 2008 12:56:03 +0100 Subject: "the effective visibility" In-Reply-To: <35EF6017-4B40-41F5-A5B9-09052F453246@sosmartsoftware.com> References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> <50030BB6-F1CE-4DE5-ADAD-9398915D5864@sosmartsoftware.com> <35EF6017-4B40-41F5-A5B9-09052F453246@sosmartsoftware.com> Message-ID: Hi Eric I'm afraid it is worse than that. Things like this are not reliable: "get the cpValue of the owner of field mydata", where the owner is a group. Sometimes it will work, other times Rev will actually return the contents of another field in another group (and these are not controls that were created on the fly). Since wasting a whole day tracking down that bug (in code that had appeared to be working for weeks), I now _always_ get the long id of (for example) field myData, and then parse the long ID. Bernard On Sat, Aug 9, 2008 at 12:12 PM, Eric Chatonet < eric.chatonet at sosmartsoftware.com> wrote: > AFAIK the owner's property is reliable as long as you don't try to code > some expression using the owner of the owner of the owner of tObj... > Using this form, I have got unexpected results. > > From eric.chatonet at sosmartsoftware.com Sat Aug 9 08:08:36 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Aug 2008 14:08:36 +0200 Subject: "the effective visibility" In-Reply-To: References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> <50030BB6-F1CE-4DE5-ADAD-9398915D5864@sosmartsoftware.com> <35EF6017-4B40-41F5-A5B9-09052F453246@sosmartsoftware.com> Message-ID: <9BC4D178-B10D-4D3A-967C-68DD8596F459@sosmartsoftware.com> Bonjour Bernard, I'm afraid you are right because the owner uses 'names'... But when I set a var to the long ID of the long owner of tObj' and use it, it seems to work reliably. Le 9 ao?t 08 ? 13:56, Bernard Devlin a ?crit : > Hi Eric > > I'm afraid it is worse than that. Things like this are not > reliable: "get > the cpValue of the owner of field mydata", where the owner is a group. > Sometimes it will work, other times Rev will actually return the > contents of > another field in another group (and these are not controls that > were created > on the fly). Since wasting a whole day tracking down that bug (in > code that > had appeared to be working for weeks), I now _always_ get the long > id of > (for example) field myData, and then parse the long ID. > > Bernard > > On Sat, Aug 9, 2008 at 12:12 PM, Eric Chatonet < > eric.chatonet at sosmartsoftware.com> wrote: > >> AFAIK the owner's property is reliable as long as you don't try to >> code >> some expression using the owner of the owner of the owner of tObj... >> Using this form, I have got unexpected results. Best regards from Paris, Eric Chatonet. ---------------------------------------------------------------- Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/ Email: eric.chatonet at sosmartsoftware.com/ ---------------------------------------------------------------- From hbaric at gmail.com Sat Aug 9 09:45:02 2008 From: hbaric at gmail.com (H Baric) Date: Sat, 9 Aug 2008 23:45:02 +1000 Subject: HTML Color Codes References: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> Message-ID: <00a501c8fa26$21f4ed20$0a01010a@ANNIESPUTA> Thank you Eric, Mark and Sarah for fantastic help with this. I'm embarrassed to say that I only searched for HTML color, and concluded there wasn't anything to be found on this exactly. So thanks once again for pointing me in new directions. Though I have to read up about how to use libs, I wouldn't have a clue atm! But I will find out, so need to reply re this. :) Sarah I had no idea the numbers were related like that, interesting thanks for explaining. I tried out your function and mostly it worked, but sometimes it outputs a less-than-6-digit html color which causes an error when setting the backcolor of say a button to tHTMLcolor - WHICH of course I won't be doing, so not really a problem! However I'm hoping this won't make any difference with the html output when it comes time to show the color on a webpage - I wonder if it will be the correct colour? I haven't had a chance to test out such colours, but I'm guessing (hoping) that it won't? Cheers, Heather ----- Original Message ----- From: "Sarah Reichelt" To: "How to use Revolution" Sent: Thursday, August 07, 2008 2:39 PM Subject: Re: HTML Color Codes > I was wondering how to translate the RGB names to the HTML equivalent when > user selects color with the Color Dialog. For such use as with a html page > generator. > > If it doesn't exist already (though surely it's been done before, and I > just can't find it): am I on the right track thinking that an array would > be used to hold both code sets, then a function returns the html > equivalent rather than the RGB? Or something! HTML colors are just the same as RGB colors but with the decimal numbers converted to hexadecimal and then run together. So you can calculate one from the other and don't need an array or lookup table. Here is a function for doing the conversion. function RGBtoHTML pRGB put item 1 of pRGB into r put item 2 of pRGB into g put item 3 of pRGB into b put baseconvert(r,10,16) into r put baseconvert(g,10,16) into g put baseconvert(b,10,16) into b return "#" & r & g & b end RGBtoHTML So you can do something like this: answer color put it into tRGBcolor put RGBtoHTML(tRGBcolor) into tHTMLcolor Cheers, Sarah _______________________________________________ use-revolution mailing list use-revolution at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution From mikeythek at gmail.com Sat Aug 9 09:42:17 2008 From: mikeythek at gmail.com (Mikey) Date: Sat, 9 Aug 2008 09:42:17 -0400 Subject: HTML Color Codes In-Reply-To: <00a501c8fa26$21f4ed20$0a01010a@ANNIESPUTA> References: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> <00a501c8fa26$21f4ed20$0a01010a@ANNIESPUTA> Message-ID: <9b408d8e0808090642x85ff2dax6568f36f5b2a7ac5@mail.gmail.com> By the way, this isn't a case where orange and red are equivalent, right? (tongue in cheek) From tereza at califex.com Sat Aug 9 09:49:01 2008 From: tereza at califex.com (Tereza Snyder) Date: Sat, 9 Aug 2008 08:49:01 -0500 Subject: "the effective visibility" In-Reply-To: References: <665591460808081329m2df586cfoe41e91a1a79fa5c3@mail.gmail.com> <6F6EBE3D-8847-42F8-A15F-27150FEBAAC4@economy-x-talk.com> <665591460808081349l71a3a141u5bca6b189a8d7c9d@mail.gmail.com> <85D66188-644B-4DB6-A45E-8DE70D1AB5A3@sosmartsoftware.com> <8FC13248-B687-4B93-A1D8-9FA55B7C26B8@economy-x-talk.com> <50030BB6-F1CE-4DE5-ADAD-9398915D5864@sosmartsoftware.com> <35EF6017-4B40-41F5-A5B9-09052F453246@sosmartsoftware.com> Message-ID: <4A1ED114-95B0-4D56-9198-8A95BB95D852@califex.com> On Aug 9, 2008, at 6:56 AM, Bernard Devlin wrote: > Hi Eric > > I'm afraid it is worse than that. Things like this are not > reliable: "get > the cpValue of the owner of field mydata", where the owner is a group. > Sometimes it will work, other times Rev will actually return the > contents of > another field in another group (and these are not controls that were > created > on the fly). Since wasting a whole day tracking down that bug (in > code that > had appeared to be working for weeks), I now _always_ get the long > id of > (for example) field myData, and then parse the long ID. Here's an easy?and I suspect faster?way to parse the long id for traversal up the hierarchy of objects: get the long id of the selectedobject; replace " of " with "," in it; put it which results in: field id 226375,group id 226358,group id 226332,card id 224190,stack "..." then a simple "for each item" loop to traverse it. The engine doesn't have to fetch the ID but once. t From mikeythek at gmail.com Sat Aug 9 09:54:57 2008 From: mikeythek at gmail.com (Mikey) Date: Sat, 9 Aug 2008 09:54:57 -0400 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <010601c8f99f$c953fca0$6501a8c0@GATEWAY> References: <009201c8f985$26978550$6501a8c0@GATEWAY> <9b408d8e0808081249j48b0696ew49ff37eec32c099b@mail.gmail.com> <00e901c8f995$e3f1d820$6501a8c0@GATEWAY> <9b408d8e0808081341t724fd538k5a570ce3036b04ff@mail.gmail.com> <010601c8f99f$c953fca0$6501a8c0@GATEWAY> Message-ID: <9b408d8e0808090654k60296ed2q1fbdd3ab5fb424cd@mail.gmail.com> so this is a value-added reseller product. So what is added? Updates to what? Are you guys adding additional tools? Hacking the engine? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From tereza at califex.com Sat Aug 9 09:59:38 2008 From: tereza at califex.com (Tereza Snyder) Date: Sat, 9 Aug 2008 08:59:38 -0500 Subject: OT: HP Lovecraft fonts In-Reply-To: <104116912500.20080808202550@ahsoftware.net> References: <104116912500.20080808202550@ahsoftware.net> Message-ID: <4D69D502-3A89-4526-9E05-3D169ED5D4B5@califex.com> On Aug 8, 2008, at 10:25 PM, Mark Wieder wrote: > All- > > For no apparent reason, I am posting here the news that the folks at > the Cthulhu Lives website have made some very nice fonts available for > free download based on HP Lovecraft's writing styles. Of the free > fonts, I find the BlackLetter fonts a bit over the top, but OldStyle > and Telegram are a hoot. Though not a Lovecraft fan, I greet you from Sauk City, home of Arkham House and August Derleth! t -- Tereza Snyder Califex Software, Inc. From hbaric at gmail.com Sat Aug 9 10:19:44 2008 From: hbaric at gmail.com (H Baric) Date: Sun, 10 Aug 2008 00:19:44 +1000 Subject: Testing if the mouse clicked on ME (button)?! Message-ID: <00b101c8fa2a$faf8f810$0a01010a@ANNIESPUTA> Ugh. Sorry for another probably easy/obvious one to you clever folk, but I can't seem to work out how to do this (and probably shouldn't be at this time as I'm just about falling asleep, but it's driving me crazy as it was supposed to be a quick simple thing to do): Making a timer, with just one button and one field. The one button is to start and stop the timer. The button's label is changed to "Stop" when it starts, and "Start" when it stops. I think I got that? But, how to test when the user clicks on the button during the process? (sorry, hey don't laugh! I have been searching and trying everything I know, which isn't much yet!) But it's simple right? *blush* Here goes: on mouseUp if the label of me is "Start" then set the label of me to "Stop" repeat with tCount = 1 to 60 put tCount into fld "Counter Show" wait 1 second if (I am clicked??) and the label of me is "Stop" then exit repeat set the label of me to "Start" end if end repeat end if end mouseUp Cheers, Heather - Who's toddler and teenager messed with most of her brain cells today. From lfredricks at proactive-intl.com Sat Aug 9 10:42:22 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 9 Aug 2008 07:42:22 -0700 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <9b408d8e0808090654k60296ed2q1fbdd3ab5fb424cd@mail.gmail.com> References: <009201c8f985$26978550$6501a8c0@GATEWAY><9b408d8e0808081249j48b0696ew49ff37eec32c099b@mail.gmail.com><00e901c8f995$e3f1d820$6501a8c0@GATEWAY><9b408d8e0808081341t724fd538k5a570ce3036b04ff@mail.gmail.com><010601c8f99f$c953fca0$6501a8c0@GATEWAY> <9b408d8e0808090654k60296ed2q1fbdd3ab5fb424cd@mail.gmail.com> Message-ID: <00d501c8fa2e$2274f8f0$6501a8c0@GATEWAY> > so this is a value-added reseller product. So what is added? > Updates to what? Are you guys adding additional tools? > Hacking the engine? Hi Mike, We aren't a VAR. We won't hack the engine (that would introduce all sorts of support issues), not unless its part of an add-on that's included in an issue - it modifies an existing install. This month, we are including version 3.1 of Valentina for Revolution Advanced (this includes all three runtimes and a copy of Valentina Studio Admin - this is for Studio and Enterprise only) and a presentation audio pack of 20 royalty free, loopable soundtracks called "Business as Unusual Volume 1". The audio pack is for everyone - Media, Studio, Enterprise. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From lfredricks at proactive-intl.com Sat Aug 9 10:51:35 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 9 Aug 2008 07:51:35 -0700 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <489CCD08.6000604@fourthworld.com> References: <489CCD08.6000604@fourthworld.com> Message-ID: <00dc01c8fa2f$6bbc2b40$6501a8c0@GATEWAY> > Why is Meshbox called "Meshbox" and not "Mirye Meshbox"? Different branding for different target markets. In some circles, Meshbox is a much better known brand for what the group does - primarily 3D content licensing and some specialized 2D work, but also some audio. Just recently Meshbox added custom animation with some libraries for Anime Studio and also a "tooning" service - over on meshbox2d.com. And yes, at the top of the page, that is me; the other guy is Malte Brill, creator of Animation Engine. Check out his 'toon :-) Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From lfredricks at proactive-intl.com Sat Aug 9 10:56:08 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 9 Aug 2008 07:56:08 -0700 Subject: HP Lovecraft fonts In-Reply-To: <104116912500.20080808202550@ahsoftware.net> References: <104116912500.20080808202550@ahsoftware.net> Message-ID: <00dd01c8fa30$0f4b5ab0$6501a8c0@GATEWAY> Hi Mark, > For no apparent reason, I am posting here the news that the > folks at the Cthulhu Lives website have made some very nice > fonts available for free download based on HP Lovecraft's > writing styles. Of the free fonts, I find the BlackLetter > fonts a bit over the top, but OldStyle and Telegram are a hoot. I don't suppose you are coming up to the H P Lovecraft Film Festival in October: http://hplfilmfestival.com/? Meshbox actually makes a 3D version of Lovecraft for Poser - http://www.lovecraft3d.com. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From eric.chatonet at sosmartsoftware.com Sat Aug 9 11:36:29 2008 From: eric.chatonet at sosmartsoftware.com (Eric Chatonet) Date: Sat, 9 Aug 2008 17:36:29 +0200 Subject: Testing if the mouse clicked on ME (button)?! In-Reply-To: <00b101c8fa2a$faf8f810$0a01010a@ANNIESPUTA> References: <00b101c8fa2a$faf8f810$0a01010a@ANNIESPUTA> Message-ID: Bonjour Heather, It's not as simple as it seems :-) There are many problems to solve here: I am clicked??, a wait that will hang Rev, etc. All this is a good reason to choose another architecture using the 'send ' command. To get you started: local lCancelID -- script local variable constant kTimerDelay = 1 -- constant ------------------------------ on mouseUp if the label of me is "Start" then put 0 into fld "Counter Show" set the label of me to "Stop" send "SetTimer true" to me in kTimerDelay second -- else put empty into fld "Counter Show" set the label of me to "Start" SetTimer false -- end if end mouseUp ------------------------------ on SetTimer pFlag if pFlag then -- starts timer add 1 to fld "Counter Show" if "SetTimer" is not in the pendingMessages then -- to avoid having a double pending message send "SetTimer true" to me in kTimerDelay second -- end if put the result into lCancelID else -- stops timer by canceling pending message cancel lCancelID end if end SetTimer See 'send', 'cancel' and 'pendingMessages' in the docs :-) Le 9 ao?t 08 ? 16:19, H Baric a ?crit : > Ugh. Sorry for another probably easy/obvious one to you clever > folk, but I > can't seem to work out how to do this (and probably shouldn't be at > this > time as I'm just about falling asleep, but it's driving me crazy as > it was > supposed to be a quick simple thing to do): > > Making a timer, with just one button and one field. > The one button is to start and stop the timer. > The button's label is changed to "Stop" when it starts, and "Start" > when it > stops. I think I got that? > But, how to test when the user clicks on the button during the > process? > (sorry, hey don't laugh! I have been searching and trying > everything I know, > which isn't much yet!) > > But it's simple right? *blush* > > Here goes: > > on mouseUp > if the label of me is "Start" then > set the label of me to "Stop" > repeat with tCount = 1 to 60 > put tCount into fld "Counter Show" > wait 1 second > if (I am clicked??) and the label of me is "Stop" then > exit repeat > set the label of me to "Start" > end if > end repeat > end if > end mouseUp > > Cheers, > Heather - Who's toddler and teenager messed with most of her brain > cells > today. From lfredricks at proactive-intl.com Sat Aug 9 11:36:43 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 9 Aug 2008 08:36:43 -0700 Subject: OT: HP Lovecraft fonts In-Reply-To: <489D25BD.4010807@fourthworld.com> References: <489D25BD.4010807@fourthworld.com> Message-ID: <00e401c8fa35$bb0a3c40$6501a8c0@GATEWAY> > Your timing is uncanny: just last night I pulled "The > Dream-Quest of Unknown Kadath" down from my shelf for a re-read. :) > > I'm going to go download these fonts ASAP. Thanks! Richard, Mark, http://www.stjoshi.net/ If you havent read S.T. Joshi's Lovecraft: A Life, I strongly recommend it. Not only an excellent writer but the amount of research that went into this totally blows away any other lovecraft bio ever written. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From sakari at neurocard.fi Sat Aug 9 13:01:17 2008 From: sakari at neurocard.fi (Neurocard) Date: Sat, 09 Aug 2008 20:01:17 +0300 Subject: OT: HP Lovecraft fonts In-Reply-To: <104116912500.20080808202550@ahsoftware.net> References: <104116912500.20080808202550@ahsoftware.net> Message-ID: <489DCD5D.2070507@neurocard.fi> Nice one on the fonts.. got some good response on other forums :D http://simplythebest.net/fonts/fonts/lovecrafts_diary.html Sakari Mark Wieder kirjoitti: > All- > > For no apparent reason, I am posting here the news that the folks at > the Cthulhu Lives website have made some very nice fonts available for > free download based on HP Lovecraft's writing styles. Of the free > fonts, I find the BlackLetter fonts a bit over the top, but OldStyle > and Telegram are a hoot. > > "Typographical fashions change, and since the digital age overtook > typesetting and graphic design, many of the fonts common in the time > of Lovecraft have fallen into disuse. We've revived many of them from > vintage sources..." > > http://www.cthulhulives.org/toybox/PROPDOCS/PropFonts.html > > From stephenREVOLUTION2 at barncard.com Sat Aug 9 13:02:20 2008 From: stephenREVOLUTION2 at barncard.com (Stephen Barncard) Date: Sat, 9 Aug 2008 10:02:20 -0700 Subject: Testing if the mouse clicked on ME (button)?! Message-ID: Hi Heather: you should check out the "Message Mechanics" stack by list member Dar Scott. A well-written stack and essential learning experience to get you head around messages and timers. Many AHA moments. Then you can do other stuff while your timer runs. http://www.swcp.com/dsc/revstacks.html A Primer on Message Mechanics. This module (stack file) is a primer on using send, cancel, pendingMessages and callbacks. Those are the basic Revolution components needed to get your stacks to do several things at the same time. The primer starts from the basics and builds on those, providing examples and details along the way. It is 88 tiny pages long and if that is not long enough for you, note that it is set up so you can add your own pages. It is fun and... It is Free! >Ugh. Sorry for another probably easy/obvious one to you clever folk, but I >can't seem to work out how to do this (and probably shouldn't be at this >time as I'm just about falling asleep, but it's driving me crazy as it was >supposed to be a quick simple thing to do): > >Making a timer, with just one button and one field. > >Cheers, >Heather - Who's toddler and teenager messed with most of her brain cells >today. -- stephen barncard s a n f r a n c i s c o - - - - - - - - - - - - From chipp at chipp.com Sat Aug 9 13:04:21 2008 From: chipp at chipp.com (Chipp Walters) Date: Sat, 9 Aug 2008 12:04:21 -0500 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <00dc01c8fa2f$6bbc2b40$6501a8c0@GATEWAY> References: <489CCD08.6000604@fourthworld.com> <00dc01c8fa2f$6bbc2b40$6501a8c0@GATEWAY> Message-ID: <665591460808091004scac3d2di402cf196fd006ec6@mail.gmail.com> Tooning Malte?. Wow. cool...great idea! http://meshbox2d.com/caricatures.html Now if you can just get a pop at Engadget or DownloadSquad or someother well-read blog. From lfredricks at proactive-intl.com Sat Aug 9 13:43:22 2008 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 9 Aug 2008 10:43:22 -0700 Subject: Mirye Runtime Revolution Moving to Monthy Issue Releases; First Release 808 In-Reply-To: <665591460808091004scac3d2di402cf196fd006ec6@mail.gmail.com> References: <489CCD08.6000604@fourthworld.com><00dc01c8fa2f$6bbc2b40$6501a8c0@GATEWAY> <665591460808091004scac3d2di402cf196fd006ec6@mail.gmail.com> Message-ID: <002d01c8fa47$6b4dc520$6501a8c0@GATEWAY> > Tooning Malte?. Wow. cool...great idea! > http://meshbox2d.com/caricatures.html Thanks Chipp! These guys make great alternative avatars as well. There's also a (much more costly) animation service coming, too. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com Mirye Community NING http://miryesoftware.ning.com From jacque at hyperactivesw.com Sat Aug 9 13:58:35 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Aug 2008 12:58:35 -0500 Subject: engine crash on open stack (Larry Forsgren) In-Reply-To: References: <489D137D.7070904@rmg.net> Message-ID: <489DDACB.40706@hyperactivesw.com> Bernard Devlin wrote: > All I can suggest at this stage is that you take the crash log it generates > and send it to runrev.com (see the recent thread 'are crash logs useful'). Larry, please include a copy of your stack in the report too. That's the fastest way for the team to pinpoint the problem, they will be able to find the issue immediately when it crashes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bdrunrev at gmail.com Sat Aug 9 14:01:50 2008 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 9 Aug 2008 19:01:50 +0100 Subject: ANN: libRevCurl In-Reply-To: References: Message-ID: Hi Mark, Someone in the forum was lamenting the blocking nature of libUrl calls, so I just returned to the discussion and added a pointer to your site. I've been having some other problems with libUrl myself recently, and had been thinking that I might need to shell to wget or curl, but now I can try your library instead, so thanks for making this available. Bernard From jacque at hyperactivesw.com Sat Aug 9 14:05:03 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Aug 2008 13:05:03 -0500 Subject: HTML Color Codes In-Reply-To: <00a501c8fa26$21f4ed20$0a01010a@ANNIESPUTA> References: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> <00a501c8fa26$21f4ed20$0a01010a@ANNIESPUTA> Message-ID: <489DDC4F.5040004@hyperactivesw.com> H Baric wrote: > Sarah I had no idea the numbers were related like that, interesting thanks > for explaining. I tried out your function and mostly it worked, but > sometimes it outputs a less-than-6-digit html color which causes an error > when setting the backcolor of say a button to tHTMLcolor Take a look at the "numberformat" property. This property sets the number of digits both before and after a decimal point. There are lots of options, but the most important thing to remember is that it will not work unless you perform a mathematical action on the variable. If you don't want to change the variable's value, just add zero to it: put baseconvert(r,10,16) into r set the numberformat to "00" add 0 to r This gives you a two-digit number in all cases. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sat Aug 9 14:20:44 2008 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 Aug 2008 13:20:44 -0500 Subject: Testing if the mouse clicked on ME (button)?! In-Reply-To: <00b101c8fa2a$faf8f810$0a01010a@ANNIESPUTA> Message-ID: > But it's simple right? *blush* Yup (BTW, I'm assuming it should count as being stopped after the 60 seconds are up): local sStartTime on mouseUp if the label of me is "Start" then set the label of me to "Stop" put the seconds into sStartTime send "CheckTimer" to me in 0 milliseconds -- allows script to continue else CancelPending "CheckTimer" set the label of me to "Start" end if end mouseUp on CheckTimer put (the seconds - sStartTime) into fld "Counter Show" if (the seconds - sStartTime = 60) then set the label of me to "Start" answer "Time's up!" else send "CheckTimer" to me in 1 second end if end CheckTimer on CancelPending pMsg put the pendingMessages into tPending filter tPending with "*," & pMsg & ",*" repeat for each line tMsg in tPending -- just in case there's more than 1 cancel item 1 of tMsg end repeat end CancelPending Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jacque at hyperactivesw.com Sat Aug 9 14:31:36 2008 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Aug 2008 13:31:36 -0500 Subject: Testing if the mouse clicked on ME (button)?! In-Reply-To: <00b101c8fa2a$faf8f810$0a01010a@ANNIESPUTA> References: <00b101c8fa2a$faf8f810$0a01010a@ANNIESPUTA> Message-ID: <489DE288.1040704@hyperactivesw.com> H Baric wrote: > Making a timer, with just one button and one field. > The one button is to start and stop the timer. > The button's label is changed to "Stop" when it starts, and "Start" when it > stops. I think I got that? > But, how to test when the user clicks on the button during the process? > (sorry, hey don't laugh! I have been searching and trying everything I know, > which isn't much yet!) I'm just delighted you are posting here. I think this list can be scary for newcomers and they don't always post. I wish we had more like you. Please don't stop. > > But it's simple right? *blush* It can be, but the easy way isn't the right way. First let's fix your script to do it the easy way, and then I'll tell you why you shouldn't use it. > on mouseUp > if the label of me is "Start" then > set the label of me to "Stop" > repeat with tCount = 1 to 60 > put tCount into fld "Counter Show" > wait 1 second While this repeat is running, nothing else can happen. The 60-second wait will block all other processes on the whole computer while the repeat loop goes around and around. Other background programs will stop whatever they are doing, the whole CPU will hang in limbo until that minute is over. That's one reason why we don't do it this way. But let's look at the script some more anyway. > if (I am clicked??) and the label of me is "Stop" then The event you want here is "the mouseclick". When the user clicks, the "mouseclick" event is sent to whatever object is clicked. So the correct line is: if the mouseclick then You don't need to check to see if the label is "stop" because the first line of the "if" clause has already set that and it can't possibly be anything else. > exit repeat > set the label of me to "Start" When you exit the repeat, any remaining lines in the repeat loop will be skipped and the handler will proceed to the line after the "end repeat". That means the label here will never be set to "start" because the loop has already exited. Change the order so that the "exit" is the last thing that happens: set the label of me to "Start" exit repeat So, here's the whole working script: on mouseUp if the label of me is "Start" then set the label of me to "Stop" repeat with tCount = 1 to 60 put tCount into fld "Counter Show" wait 1 second if the mouseclick then set the label of me to "Start" exit repeat end if end repeat end if end mouseUp That's the easy way, but don't do it. In addition to blocking the CPU while this repeat loop runs, there's another reason to avoid this technique. The "mouseclick" (or any other mouse events) are not reliable when checked in a loop. The engine will only recognize a mouse event if it occurs at the same moment the script is checking for it. In a very short loop, it will probably "see" the mouse event most of the time. But in very long scripts inside a repeat loop, another part of the handler may be running when the mouse is clicked (like during the 1-second wait above,) and the script won't be checking at that precise moment, so the loop will not exit. So a much better way to handle this kind of thing is to use the techniques that Eric and others have pointed out. It's more complicated, but it is more reliable and it doesn't block the CPU. There is more info about this technique here: Thanks again for posting, I hope you inspire all our other new Revvers to do the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From kray at sonsothunder.com Sat Aug 9 14:54:33 2008 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 Aug 2008 13:54:33 -0500 Subject: The Long Owner (was Re: "the effective visibility") In-Reply-To: <35EF6017-4B40-41F5-A5B9-09052F453246@sosmartsoftware.com> Message-ID: > AFAIK the owner's property is reliable as long as you don't try to > code some expression using the owner of the owner of the owner of > tObj... > Using this form, I have got unexpected results. > On the other hand, the long owner is the long name of the owner and I > would prefer if it was the long ID: > There are cases where you have to 'get' the long ID of the owner of > tObj to be safe... > I am thinking of hundreds of groups created on the fly for instance. Here's the skinny (after lots of time and trial)... suppose you have this set of objects on the card: Group "MainGroup" -- label "MainGroup 1" Group "MyGroup" -- label "Group 1" Button "MyButton" Group "MainGroup" -- label "MainGroup 2" Group "MyGroup" -- label "Group 2" Button "MyButton" And you have code in the buttons that simply say: put the label of the long owner of me This won't work - in both cases you get "Group 1" - this is because "the long owner" retrieves a *named* object: group "MyGroup" of group "MainGroup" of card ... which matches *both* groups. This happens no matter what property you try to get of "the long owner". And once you have the *wrong* "long owner", trying to get the "long owner" of *it* messes up as well, so: put the label of the long owner of the long owner of me Will always give you "MainGroup 1". So if you can't get away with uniquely naming your group objects for some reason, the only thing you can do is basically what David and Bernard pointed out - parse the long id of the target. Here's what I use: function stsLongOwnerID pObjID,pOpt_NumLevels if pOpt_NumLevels = "" then put 1 into tNum else put pOpt_NumLevels into tNum if word ((4*tNum)+1) of pObjID is among the items of "group,card" then delete word 1 to (4*tNum) of pObjID end if return pObjID end stsLongOwnerID This allows me to do either: put stsLongOwnerID(stsLongOwnerID(the long id of me)) OR put stsLongOwnerID(the long id of me,2) to get the same result. I wish that the language was extended to be able to add "ownerID" in addition to "owner" so you could do: put the long ownerID of the long ownerID of me to get an accurate result, but that's not in there yet... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From sarah.reichelt at gmail.com Sat Aug 9 17:21:27 2008 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 10 Aug 2008 07:21:27 +1000 Subject: HTML Color Codes In-Reply-To: <489DDC4F.5040004@hyperactivesw.com> References: <020201c8f7d7$90fba7a0$0a01010a@ANNIESPUTA> <00a501c8fa26$21f4ed20$0a01010a@ANNIESPUTA> <489DDC4F.5040004@hyperactivesw.com> Message-ID: >> Sarah I had no idea the numbers were related like that, interesting thanks >> for explaining. I tried out your function and mostly it worked, but >> sometimes it outputs a less-than-6-digit html color which causes an error >> when setting the backcolor of say a button to tHTMLcolor > > Take a look at the "numberformat" property. This property sets the number of > digits both before and after a decimal point. There are lots of options, but > the most important thing to remember is that it will not work unless you > perform a mathematical action on the variable. If you don't want to change > the variable's value, just add zero to it: > > put baseconvert(r,10,16) into r > set the numberformat to "00" > add 0 to r > > This gives you a two-digit number in all cases. Will the numberFormat work with hexadecimal numbers? That was my mistake in the function Heather, but my solution would be: if the length of r < 2 then put "0" before r And repeat this for g & b before assembling the HTML color string. Cheers, Sarah From kray at sonsothunder.com Sat Aug 9 18:12:57 2008 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 09 Aug 2008 17:12:57 -0500 Subject: HTML Color Codes In-Reply-To: Message-ID: >> put baseconvert(r,10,16) into r >> set the numberformat to "00" >> add 0 to r >> >> This gives you a two-digit number in all cases. > > > Will the numberFormat work with hexadecimal numbers? > > That was my mistake in the function Heather, but my solution would be: > if the length of r < 2 then put "0" before r > > And repeat this for g & b before assembling the HTML color string. You can also use the "format" function to not only convert the R, B, and B numbers to hex, but pad it properly as well! put the backColor of this stack into tRGB -- 194,10,128 split tRGB by comma put format("%02x%02x%02x",tRGB[1],tRGB[2],tRGB[3]) into tHexColor put tHexColor --> c20a80 And with "do", you can even do it in one line: put the backColor of this stack into tRGB -- 194,10,128 do "put format(" & quote & "%02x%02x%02x" & quote & "," & \ tRGB & ") into tHexColor put tHexColor --> c20a80 BTW: format() cool and is great for padding zeroes or spaces in front things, so you can convert numbers to zero-padded fixed-length 6 digit numbers like this: put 5 into tNum put format("%06d",tNum) --> 000005 Or if you need to pad spaces, you can omit the "0" in the format() call, so: put format("%6d",tNum) --> 5 (5 spaces, then the number "5") Have fun, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From engleerica at yahoo.com Sat Aug 9 19:24:34 2008 From: engleerica at yahoo.com (Eric A. Engle) Date: Sat, 9 Aug 2008 16:24:34 -0700 (PDT) Subject: livecard/stacks over internet? In-Reply-To: <20080809170005.173D148A050@mail.runrev.com> Message-ID: <825106.19857.qm@web65401.mail.ac4.yahoo.com> Is there anything like livecard existing or planned for revolution? any way one can serve stacks over the internet? I would prefer that to using revolution as a cgi. I still dream of