Re: HTML SMTP Library

2008-08-24 Thread David Bovill
What do people think the best way of sending a form is via email with Rev? Sean - I don't get the bit about SMTP - from I "thought" you multi-part mime-encode the message (more or less like you do with http posts), and then use the SMTP protocol - am I wrong is is that what you were saying I I got

Re: HTML SMTP Library

2008-08-24 Thread Shao Sean
- MIME Encode the message - send message via SMTP - ??? - profit In terms of what you can send via email the sky is pretty much the limit, the receiving email client dictates what will be displayed and what functionality you can embed into the HTML part of your MIME message. Personally I on

Re: HTML SMTP Library

2008-08-24 Thread Mikey
This is not true. Just put HTML in the message body (format it like a regular web page, i.e. begin and end the message body with html tags. -- 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 f

Re: HTML SMTP Library

2008-08-24 Thread Shao Sean
Mikey, are you doing that in an email client or in Rev code? If in an email client then it is doing the encoding for you. If you are doing it in Rev code, the receiving email client is being kind parsing it and displaying it for you without being told that it is MIME with text/html part. If

Re: HTML SMTP Library

2008-08-24 Thread RevList
Shao Sean <[EMAIL PROTECTED]> on August 23, 2008 at 10:43 PM -0700 wrote: >Due to the nature of SMTP it only sends plain text messages. I do >have a MIME Encode library that allows for the encoding of HTML into >the message. Sorry about the lack of documentation. > >http://shaosean.wehostmacs.c

Re: HTML SMTP Library

2008-08-24 Thread Mikey
I haven't done it in rev yet. (probably this afternoon) I do it in several other development tools, including writing the raw SMTP code in one. Just to make sure I was right, I opened up an HTML email that one of my other tools sends and checked the source code, including headers. There are no s

Re: HTML SMTP Library

2008-08-24 Thread RevList
Mikey <[EMAIL PROTECTED]> on August 24, 2008 at 8:38 AM -0700 wrote: >I haven't done it in rev yet. (probably this afternoon) I do it in >several >other development tools, including writing the raw SMTP code in one. Just >to make sure I was right, I opened up an HTML email that one of my other >t

Re: HTML SMTP Library

2008-08-24 Thread Andre Garzia
Mikey, I have a very bare bones HTML emailer on my RevOnline user space in case you want to check. It also acts as the mailer, so some servers may think it is a spam zombie (it fails reverse mx check) but the plus side is that you don't need configuration to send email :-D The part that interest

Revbrowser: checking for form submission

2008-08-24 Thread David Bovill
Is there any way to check whether RevBrowser is posting a form? I don;t think there is a suitable message to trap? I want to update some GUI elements if a user submits new information via the browser. As the forms use http "post" not "get" I don;t think any of the normal navigate messages are going

Re: Very simple cursor problem

2008-08-24 Thread Ken Ray
> This seems as basic as it can get. I have an image on a background. On > mouseEnter and mouseLeave it calls a simple handler in the stack script. The > script uses a switch statement. On mouseEnter I "set cursor to hand". On > mouseLeave I "set cursor to arrow". I know the script gets executed b

Re: HTML SMTP Library

2008-08-24 Thread Mikey
You'll be better off messing with it yourself. My code is in other IDE's so even though HC is old hat to me, RR is still new since I don't use it very often yet, so It'll take a while. ___ use-revolution mailing list use-revolution@lists.runrev.com Pleas

Re: HTML SMTP Library

2008-08-24 Thread Mikey
I'm assuming you have embedded the following header into your message: Content-Type: text/html;charset=us-ascii Let me know what happens now. Obviously you can change the charset. ___ use-revolution mailing list use-revolution@lists.runrev.com Please v

Re: HTML SMTP Library

2008-08-24 Thread Mikey
> so some servers > may think it is a spam zombie (it fails reverse mx check) but the plus > side is that you don't need configuration to send email :-D ah. If you send through your ISP, you shouldn't have a problem. Obviously if he's trying to embed images then he needs to attach them. However

Re: Revbrowser: checking for form submission

2008-08-24 Thread Terry Judd
Hi David - browserBeforeNavigate is the right message to trap - unfortunately you can't use it to grab form data under Windows due to a bug in the external (see bug 5125 - I'm still waiting for this to be confirmed after 15 months!). Terry... On 25/8/08 5:00 AM, "David Bovill" <[EMAIL PROTECTED]

Re: Where are the objects of a stack after 'start using'?

2008-08-24 Thread Graham Samuel
Thanks Richard for your reply. As you can see, I am stumbling a bit over this, feeling my way. I would like to cut down on the experiments which is why I'm asking questions on this list. Thanks very much for the reference to your article. I think I do understand the Rev message path, and I

Contextual (popup) menus and their options

2008-08-24 Thread Mark Stuart
Hi All, I have a contextual menu (popup) on a text field with several options. One of them is Select All. This allows the user to select all the text in this field. If the user actuates the contextual menu again, the Select All option should still be there, but also a new option is selectable

Re: Where are the objects of a stack after 'start using'?

2008-08-24 Thread Eric Chatonet
Bonjour Graham, A library is a collection of handlers put in a stack's script only. The purpose of a library is to make some particular code routines available (text, menu, etc.). Usually, a library is a 'blank' stack with a single card and no control. Just the script of the stack is used an

Linux Version

2008-08-24 Thread Mikey
I finally have an Ubuntu machine up after steering away after bad experiences with other distros, but I haven't tried RR on it yet. Does anyone have any impressions? 3.0 beta impressions also welcome. -- On the first day, God created the heavens and the Earth On the second day, God created the

Re: Contextual (popup) menus and their options

2008-08-24 Thread Eric Chatonet
Bonjour Mark, An Edit menu, if you want to stay compliant with all platforms guidelines, should always show the 'Cut, Copy, Paste' trilogy as a minimum. Of course, you can disable the menu items you don't want the user to use but they *must* be there with their usual shortcuts :-) So in you

Trouble deleting a line of text

2008-08-24 Thread Bill Vlahos
I have a table field (but in testing any field behaves this way) that I want to delete a line of text when the user right clicks on it. The following script deletes the line of text as expected but then throws an error. 1. Create a field and type several lines of text in it. 2. Lock the tex

Contextual (popup) menus and their options

2008-08-24 Thread Mark Stuart
Bonjour Eric, Put your script into my field, and it's working, thank you. But I'm not sure what this part of your script does, what it is checking for? if word 4 of the selectedChunk < word 2 of the selectedChunk then Why word 4 and why word 2? And why word 4 is less than word 2?

Re: Trouble deleting a line of text

2008-08-24 Thread Sarah Reichelt
On Mon, Aug 25, 2008 at 8:36 AM, Bill Vlahos <[EMAIL PROTECTED]> wrote: > I have a table field (but in testing any field behaves this way) that I want > to delete a line of text when the user right clicks on it. The following > script deletes the line of text as expected but then throws an error. >

Re: Trouble deleting a line of text

2008-08-24 Thread Mark Schonewille
Hi Bill, You don't miss anything. I believe that this works as expected in HyperCard, but not in Revolution. You can add this problem to the bug report or create a new bug report. I solved it like this: do "delete" && the clickLin

MenuPick Sent When Option Menu Not Clicked

2008-08-24 Thread Mikey
When does an option menu receive the menuPick message when it hasn't even been clicked (besides having it sent to it). I have an option menu that is behaving in this way. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this u

Internet/Browser Discussion

2008-08-24 Thread Mikey
Is there a good in-depth discussion of using the internet/browser commands? Specifically I'd like to automate the interaction with a site, including logging in, hitting various pages, extracting information from the pages and acting upon it. I believe this is probably pretty standard stuff in RR,

Re: MenuPick Sent When Option Menu Not Clicked

2008-08-24 Thread Jan Schenkel
--- Mikey <[EMAIL PROTECTED]> wrote: > When does an option menu receive the menuPick > message when it hasn't > even been clicked (besides having it sent to it). > > I have an option menu that is behaving in this way. > The 'menuPick' message is also sent when you set the 'menuHistory' property

Re: RTFtext, printing and tabStops

2008-08-24 Thread Shari
Jan, They do not know how to do mail merge in Word. I had originally set this project up as an Excel spreadsheet which exported info for import into Word, but it was so convoluted and prone to user error (Excel doesn't have the power Rev does, especially with several spreadsheets tying into

Re: Linux Version

2008-08-24 Thread Pierre Sahores
Hi Mikey, In using Rev 3.0.0 DP-8 to RC-2, 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 of a Rev n-tier app i'm working on : - Mac

Re: Trouble deleting a line of text

2008-08-24 Thread Bill Vlahos
Thanks Sarah. Bill On Aug 24, 2008, at 3:58 PM, Sarah Reichelt wrote: On Mon, Aug 25, 2008 at 8:36 AM, Bill Vlahos <[EMAIL PROTECTED]> wrote: I have a table field (but in testing any field behaves this way) that I want to delete a line of text when the user right clicks on it. The followin

Re: Trouble deleting a line of text

2008-08-24 Thread Bill Vlahos
Thanks Mark. That worked too. Bill On Aug 24, 2008, at 4:01 PM, Mark Schonewille wrote: Hi Bill, You don't miss anything. I believe that this works as expected in HyperCard, but not in Revolution. You can add this problem to the bug report