| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
|
| Hi, sorry if I'm posting in the wrong place. I am trying to create a button which when clicked will forward the mail to another email address and append a comment to the subject line. I can do this if the mail is opened by having the button do the following action; Run @function formula @Command([EditGotoField];FIELD Subject := Subject + " :- Approved"); @Command([MailForward]); @Command([EditInsertText]; " However, I want to achieve the same thing for emails that aren't opened but are just viewed in the preview pane. If I click on the button while the message is displayed in the preview pane it just opens the new message to be forwarded but does not append the comment in the subject field. Can anyone suggest a way of doing this? Ideally it would append the comment and just forward a mail straight on without opening the mail in a new compose window, but I can live without that. Thanks. |
|
#2
|
| I've managed to get what I want by having the button do; @Command([MailForward]); @Command( [EditGotoField] ; "EnterSendTo"); @Command( [EditInsertText] ; " @Command([EditGotoField]; "Subject"); @Command([EditInsertText]; " It precedes the original subject rather than appending but I can live with that. I'd still be interested to know alternative ways of doing this as it's all new to me but I'm happy with how it's working. |
|
#3
|
| mpbrown276-at-yahoo.co.uk ha scritto: > I've managed to get what I want by having the button do; > > @Command([MailForward]); > @Command( [EditGotoField] ; "EnterSendTo"); > @Command( [EditInsertText] ; " > @Command([EditGotoField]; "Subject"); > @Command([EditInsertText]; " > > > It precedes the original subject rather than appending but I can live > with that. > I'd still be interested to know alternative ways of doing this as it's > all new to me but I'm happy with how it's working. You may add @Command([EditRight]; @Length( Subject )) to move the insertion point at the end of subject field |
![]() |
| Thread Tools | |
| Display Modes | |