Re[2]: Content dependent on subject contents through macro
I've actually tried (a slight variation on) this now and it works if you include just one more set of quotes. On Thu, 23 Mar 2006 at 09:53:45 +1100, Robin wrote: %_Match=%SetPattRegexp=- eom%RegexpMatch=%Subject%- should be %_Match='%SetPattRegexp=- eom%RegexpMatch=%Subject'%- %If:%_Match:thistext:%QInclude('NewMessageTemplate')%- Try that. That's the ticket exactly. I did try the original and thought it was something I had not set right so I put it aside temporarily. This version worked straight out of the box. Thanks bigly -- Marten Gallagher Annery Kiln Web Design www.annerykiln.co.uk Using The Bat! 3.71.03 with POPFile 0.22.4 on Windows XP 5.1 Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Content dependent on subject contents through macro
I've actually tried (a slight variation on) this now and it works if you include just one more set of quotes. On Thu, 23 Mar 2006 at 09:53:45 +1100, Robin wrote: %_Match=%SetPattRegexp=- eom%RegexpMatch=%Subject%- should be %_Match='%SetPattRegexp=- eom%RegexpMatch=%Subject'%- %If:%_Match:thistext:%QInclude('NewMessageTemplate')%- Try that. -- Robin Using The Bat! v3.0.1.33 Windows XP 5.1 Build 2600 Service Pack 2 Popfile v0.22.3 Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Content dependent on subject contents through macro
Hello Marten, Sorry for my late reply. type something in the body and complete the subject and body from it. I use that a lot. Hmmm that sounds possible - not perfect bit possible - so the next question is how to do that? I guess the macro called by the eom handle sets the subject - can I type a line in the body and then that line gets pulled out and put in the subject by the macro? I don't think you can transfer a line from the body to the subject, at least I don't know how to do it. However, I found out something that may be of help. If you assign a keyboard shortcut to a QT, the QT will be executed if you key the shortcut while the cursor is in the subject line. That is, you could type the subject and then hit the shortcut. -- Best regards, Miguel A. Urech (El Escorial - Spain) Using The Bat! v3.72.04 (Beta) Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Content dependent on subject contents through macro
MAU @ 3/22/2006 10:05:15 AM Content dependent on subject contents through macro mid:[EMAIL PROTECTED] I don't think you can transfer a line from the body to the subject, at least I don't know how to do it. Look at the %CLIPBOARD macro. You have to manually copy the line (I think), but then you can do all sorts of cool stuff with that line. -- Chris Quoting when replying to this message is good for you and me. Using The Bat! v3.71.03 on Windows XP 5.1 Build 2600 Service Pack 2. Accessing a POP3 mailbox. Today's Oxymoron: Software documentation pgpaZyehWrGsf.pgp Description: PGP signature Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Content dependent on subject contents through macro
Hello Chris, I don't think you can transfer a line from the body to the subject, at least I don't know how to do it. Look at the %CLIPBOARD macro. You have to manually copy the line (I think), but then you can do all sorts of cool stuff with that line. I'm aware about %CLIPBOARD macro, but I think that is not what Marten is looking for. -- Best regards, Miguel A. Urech (El Escorial - Spain) Using The Bat! v3.72.04 (Beta) Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: Content dependent on subject contents through macro
Look at the %CLIPBOARD macro. You have to manually copy the line (I think), but then you can do all sorts of cool stuff with that line. I'm aware about %CLIPBOARD macro, but I think that is not what Marten is looking for. Hmmm... possibility but not precisely what I was hoping might be possible What I wanted was: IF a certain string of characters [ - eom] exists in the hand-written subject THEN complete the body with %thistext% -- Marten Gallagher Annery Kiln Web Design www.annerykiln.co.uk Using The Bat! 3.71.03 with POPFile 0.22.4 on Windows XP 5.1 Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Content dependent on subject contents through macro
On Wed, 22 Mar 2006 at 19:23:57 +, Marten wrote: What I wanted was: IF a certain string of characters [ - eom] exists in the hand-written subject THEN complete the body with %thistext% You could set up your message template in this way. Create a template for your new messages call NewMessageTemplate. Then set up the new template for the account to be %_Match=%SetPattRegexp=- eom%RegexpMatch=%Subject%- %If:%_Match:thistext:%QInclude('NewMessageTemplate')%- You will get thistext if the subject includes - eom, otherwise you will get the contents of NewMessageTemplate. -- Robin Using The Bat! v3.0.1.33 Windows XP 5.1 Build 2600 Service Pack 2 Popfile v0.22.3 Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Content dependent on subject contents through macro
That should have read You could set up your message template in this way. Create a QUICK template for your new messages call NewMessageTemplate. Then set up the new template for the account to be %_Match=%SetPattRegexp=- eom%RegexpMatch=%Subject%- %If:%_Match:thistext:%QInclude('NewMessageTemplate')%- You will get thistext if the subject includes - eom, otherwise you will get the contents of NewMessageTemplate. -- Robin Using The Bat! v3.0.1.33 Windows XP 5.1 Build 2600 Service Pack 2 Popfile v0.22.3 Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: Content dependent on subject contents through macro
That should have read You could set up your message template in this way. Create a QUICK template for your new messages call NewMessageTemplate. Then set up the new template for the account to be %_Match=%SetPattRegexp=- eom%RegexpMatch=%Subject%- %If:%_Match:thistext:%QInclude('NewMessageTemplate')%- You will get thistext if the subject includes - eom, otherwise you will get the contents of NewMessageTemplate. OK - I'll give that a go tomorrow - Hypnos is calling now... Thanks for your trouble and for going to the trouble of correcting it - I really appreciate it. Will let you know the result. -- Marten Gallagher Annery Kiln Web Design www.annerykiln.co.uk Using The Bat! 3.71.03 with POPFile 0.22.4 on Windows XP 5.1 Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re: Content dependent on subject contents through macro
Hello Marten, snipped What would be handy is to have the body completed automatically if the subject ends with space-spaceeom Can that be done? I don't think so but, why don't you do it the other way around? That is, type something in the body and complete the subject and body from it. I use that a lot. -- Best regards, Miguel A. Urech (El Escorial - Spain) Using The Bat! v3.72.04 (Beta) Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html
Re[2]: Content dependent on subject contents through macro
Hello Marten, snipped type something in the body and complete the subject and body from it. I use that a lot. Hmmm that sounds possible - not perfect bit possible - so the next question is how to do that? I guess the macro called by the eom handle sets the subject - can I type a line in the body and then that line gets pulled out and put in the subject by the macro? -- Marten Gallagher Annery Kiln Web Design www.annerykiln.co.uk Using The Bat! 3.71.03 with POPFile 0.22.4 on Windows XP 5.1 Current version is 3.71.03 | 'Using TBUDL' information: http://www.silverstones.com/thebat/TBUDLInfo.html