Re(4): Returns in mailbody per AppleScript [SaferSurf.com Status: [SaferSurf.com Status: eMail virus free]

2004-04-04 Thread computer artwork by subhash

[ff-musikbüro <[EMAIL PROTECTED]> schrieb am 31.3.2004 um 12:59 Uhr:]

>Maybe someone can tell me, how to add
>the attachemant already in Filemaker, so that Powermail can send this
>also in the background.

Maybe there is a way to choose the signature in FM already?

. . . . . . . . . . . . . . . . . . . . . . . . .
 Jenseits von "als HTML speichern":
 Funktionelles WebDesign von Subhash
 http://www.subhash.at/show.shtml?referenzen.html
. . . . . . . . . . . . . . . . . . . . . . . . .




Re(4): Returns in mailbody per AppleScript [SaferSurf.com Status: [SaferSurf.com Status: eMail virus free]

2004-04-04 Thread computer artwork by subhash

[ff-musikbüro <[EMAIL PROTECTED]> schrieb am 31.3.2004 um 12:59 Uhr:]

>I would be glad, if this helped.

IT DID!
Thank you very much!

First I didn't notice that it worked because PM saves the new message as
draft in the out folder and I had another one open. So I changed the
script and added:

open msg

as a last line.

Thanx again!
Subhash

. . . . . . . . . . . . . . . . . .
Modernste animierte Großprojektion
   High Power Projection
http://www.projection.co.at
computer artwork by subhash
. . . . . . . . . . . . . . . . . .




Re(3): Returns in mailbody per AppleScript [SaferSurf.com Status: [SaferSurf.com Status: eMail virus free]

2004-03-31 Thread ff-musikb

computer computer artwork by subhash schrieb amMit, 31. Mär 2004 mit
Absender [EMAIL PROTECTED]

>I would be interested to see it.

This is the one, that sends eMails from Filemaker to Powermail, brings
Powermail to the front and does nothing more. here you can add
attachements, modifications and whatever you want. Then you can send the
message from Powermail. As you see, my Filemaker database contains the
fields "eMail Adresse", "Betreff" and "eMail Body", there you have to
change the script, using the names of the similar fields in your
Filemaker database.

- start of script --
tell application "FileMaker Pro"
set new_address to cell "eMail Adresse" of current record
set new_subject to cell "Betreff" of current record
set new_content to cell "eMail Body" of current record  
end tell

tell application "PowerMail"
activate
set msg to make new message with properties {subject:new_subject,
recipient:new_address, content:new_content}
end tell
 end of script 

The next script sends the emails from Filemaker to Powermail, and
Powermails sends the messages immediately in the background, while
Filemaker stays in the Foreground and you can continue to work.

- start of script --
tell application "FileMaker Pro"
set new_address to cell "eMail Adresse" of current record
set new_subject to cell "Betreff" of current record
set new_content to cell "eMail Body" of current record  
end tell

tell application "PowerMail"
set msg to make new message with properties {subject:new_subject,
recipient:new_address, content:new_content}
send msg
end tell
 end of script 

I would be glad, if this helped. Maybe someone can tell me, how to add
the attachemant already in Filemaker, so that Powermail can send this
also in the background.

mit freundlichem Gruß,
med venlig hilsen,
med snill hensyn,
parhain terveisin,
met vriendelijke groeten,
serdecznie pozdrawiam,
con le considerazioni gentili,
con respectos amables,
com os melhores cumprimentos,
avec mes salutations amicales
and with kind regards

Florian Fürst

--
==
ff-musikbüro
Florian Fürst
Berlinickestr. 6
D-12165 Berlin
Tel. +49-30-56739940
Fax +49-30-56739941
Mobil +49-179-9230923
eMail [EMAIL PROTECTED]
Website www.ffmusik.de
==




Re(3): Returns in mailbody per AppleScript [SaferSurf.com Status: eMail virus free] [SaferSurf.com Status: eMail virus free]

2004-03-31 Thread computer artwork by subhash

[ff-musikbüro <[EMAIL PROTECTED]> schrieb am 31.3.2004 um 11:25 Uhr:]

>Would that help you?

I would be interested to see it.
Ich glaub' es könnte helfen ...

Subhash

--
http://www.subhash.at




Re(2): Returns in mailbody per AppleScript [SaferSurf.com Status: eMail virus free] [SaferSurf.com Status: eMail virus free]

2004-03-31 Thread ff-musikb

cheshirekat cheshirekat schrieb amDie, 30. Mär 2004 mit Absender
[EMAIL PROTECTED]

>On Tue, Mar 30, 2004, the following words from computer artwork by
>subhash [EMAIL PROTECTED], emerged from a plethora of SPAM ...
>
>>>Tell application "PowerMail"
>>
>>> set msg to make new message with properties {account:"Earthlink",
>>>subject:Mail_Subj, recipient:Mail_Recips, content:Mail_Message,
>>>Signature:Aridjis}
>>> send msg
>>>end tell
>>
>>That's not possible in my case because I have to create the mail per
>>"open URL" mailto: otherwise FileMaker cannot talk to PM. I cannot
>>use the AppleScript from FM to create a new message because I have to
>>insert some variables from FM ...
>
>Actually, your Applescript can get the info from the required FM Pro
>fields/cells and then have PowerMail create the message using the
>variables. This circumvents the need to create a mailto URL. This
>definitely works, I have done this quite frequently. It is because of
>this flexibility that I use FileMaker Pro so frequently for so many tasks
>including managing old email, and sending email to people that I need to
>temporarily track but don't want to add to my Address Book contacts.
>
>
Hello Cheshirekat,
I received and modified a script from this group, which I use to send
mails from Filemaker either directly via Powermail in the background, or,
if I want to add an attachement, creates the mail in Powermail, brings it
to the front and lets me work on the created mail. Although I would like
to modify the script to be able to define the attachement already in
Filemaker, so that Powermail sends it in the background including the
attached file, and this is something i have no idea how to do that.
Apart from that it works perfect! It even works on a list of Filemaker,
as you can write a Filemaker script to continue to do the same task until
the last of the list is done.
Would that help you? It looks simplke, but I am very happy with it.
mit freundlichem Gruß,
med venlig hilsen,
med snill hensyn,
parhain terveisin,
met vriendelijke groeten,
serdecznie pozdrawiam,
con le considerazioni gentili,
con respectos amables,
com os melhores cumprimentos,
avec mes salutations amicales
and with kind regards

Florian Fürst
--
==
ff-musikbüro
Florian Fürst
Berlinickestr. 6
D-12165 Berlin
Tel. +49-30-56739940
Fax +49-30-56739941
Mobil +49-179-9230923
eMail [EMAIL PROTECTED]
Website www.ffmusik.de
==




Re: Returns in mailbody per AppleScript

2004-03-31 Thread cheshirekat

On Tue, Mar 30, 2004, the following words from Wayne Brissette
[EMAIL PROTECTED], emerged from a plethora of SPAM ...

>>That's not possible in my case because I have to create the mail per
>>"open URL" mailto: otherwise FileMaker cannot talk to PM. I cannot
>>use the AppleScript from FM to create a new message because I have to
>>insert some variables from FM ...
>>
>
>What I suspect you need to look at is global variables. These can be used
>between applications. 
>
>See the documentation here:
>
>AppleScriptLangGuide/AppleScript.ed.html>

I agree with Wayne. Since you are already using AppleScript, then using
globals and properties in your AppleScripts will provide the flexibility
needed without yielding to the limitations of the mailto method.
Personally, I use properties extensively, but very rarely use global
variables. I pass local variables through calls to subroutines/handlers
from one application to another. 




Re(2): Returns in mailbody per AppleScript

2004-03-31 Thread cheshirekat

On Tue, Mar 30, 2004, the following words from computer artwork by
subhash [EMAIL PROTECTED], emerged from a plethora of SPAM ...

>>Tell application "PowerMail"
>
>>  set msg to make new message with properties {account:"Earthlink",
>>subject:Mail_Subj, recipient:Mail_Recips, content:Mail_Message,
>>Signature:Aridjis}
>>  send msg
>>end tell
>
>That's not possible in my case because I have to create the mail per
>"open URL" mailto: otherwise FileMaker cannot talk to PM. I cannot
>use the AppleScript from FM to create a new message because I have to
>insert some variables from FM ...

Actually, your Applescript can get the info from the required FM Pro
fields/cells and then have PowerMail create the message using the
variables. This circumvents the need to create a mailto URL. This
definitely works, I have done this quite frequently. It is because of
this flexibility that I use FileMaker Pro so frequently for so many tasks
including managing old email, and sending email to people that I need to
temporarily track but don't want to add to my Address Book contacts.




Re: Returns in mailbody per AppleScript

2004-03-30 Thread Wayne Brissette

computer artwork by subhash [EMAIL PROTECTED] on Tuesday, March 30, 2004
stated:

>[Wayne Brissette <[EMAIL PROTECTED]> schrieb am 30.3.2004 um 14:44 Uhr:]
>
>>In AppleScript you can simply use RETURN.
>
>Ah, sure, I forgot!
>
>>>2) How to set the account from which being sent?
>
>>Tell application "PowerMail"
>
>>  set msg to make new message with properties {account:"Earthlink",
>>subject:Mail_Subj, recipient:Mail_Recips, content:Mail_Message,
>>Signature:Aridjis}
>>  send msg
>>end tell
>
>That's not possible in my case because I have to create the mail per
>"open URL" mailto: otherwise FileMaker cannot talk to PM. I cannot
>use the AppleScript from FM to create a new message because I have to
>insert some variables from FM ...
>

What I suspect you need to look at is global variables. These can be used
between applications. 

See the documentation here:



Wayne

-- 
No people is wholly civilized where a distinction is drawn between
stealing an office and stealing a purse. 
- Theodore Roosevelt

Live DAT & Music Page: http://homepage.mac.com/wayneb/
Wayne's Music Calendar: http://ical.mac.com/wayneb/Music
PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html

Music Currently playing:




Re(2): Returns in mailbody per AppleScript

2004-03-30 Thread computer artwork by subhash

[Wayne Brissette <[EMAIL PROTECTED]> schrieb am 30.3.2004 um 14:44 Uhr:]

>In AppleScript you can simply use RETURN.

Ah, sure, I forgot!

>>2) How to set the account from which being sent?

>Tell application "PowerMail"

>   set msg to make new message with properties {account:"Earthlink",
>subject:Mail_Subj, recipient:Mail_Recips, content:Mail_Message,
>Signature:Aridjis}
>   send msg
>end tell

That's not possible in my case because I have to create the mail per
"open URL" mailto: otherwise FileMaker cannot talk to PM. I cannot
use the AppleScript from FM to create a new message because I have to
insert some variables from FM ...

. . . . . . . . . . . . . . . . . . . . . . . . .
 Jenseits von "als HTML speichern":
 Funktionelles WebDesign von Subhash
 http://www.subhash.at/show.shtml?referenzen.html
. . . . . . . . . . . . . . . . . . . . . . . . .




Re(2): Returns in mailbody per AppleScript

2004-03-30 Thread computer artwork by subhash

[Wayne Brissette <[EMAIL PROTECTED]> schrieb am 30.3.2004 um 14:44 Uhr:]

>>1) How can I create a return in the body?
>
>In AppleScript you can simply use RETURN.

That's correct but I'm transmitting the body via
mailto:[EMAIL PROTECTED]&body=...

So how can I submit a return in this?

. . . . . . . . . . . . . . . .
  Adobe Photoshop-Schulungen
  mit Subhash
kompetent-individuell-preiswert
  http://www.subhash.at/foto/
. . . . . . . . . . . . . . . .




Re: Returns in mailbody per AppleScript

2004-03-30 Thread Wayne Brissette

computer artwork by subhash [EMAIL PROTECTED] on Tuesday, March 30, 2004
stated:

>1) How can I create a return in the body?

In AppleScript you can simply use RETURN. 

So for example:

set Mail_Message to BodyPart_1 & RETURN & BodyPart_2 & RETURN &
BodyPart_3 as string

>2) How to set the account from which being sent?

Tell application "PowerMail"

set msg to make new message with properties {account:"Earthlink",
subject:Mail_Subj, recipient:Mail_Recips, content:Mail_Message,
Signature:Aridjis}
send msg
end tell

>3) How to set the signature?

See above.

Hope this helps.

Wayne

--
"Nature can survive without man--in fact, that may be its salvation--but
man cannot survive without nature."

- Homero Aridjis

Live DAT & Music Page: http://homepage.mac.com/wayneb/
Wayne's Music Calendar: http://ical.mac.com/wayneb/Music
PowerMail AppleScript Archives: http://homepage.mac.com/wayneb/powermail.html

Music Currently playing:




Returns in mailbody per AppleScript

2004-03-30 Thread computer artwork by subhash

Hi!

I'm just trying to send an automatic email from FileMaker per "open URL"
(mailto) and an AppleScript via PM.

1) How can I create a return in the body?
2) How to set the account from which being sent?
3) How to set the signature?

Thanx for hints!
Subhash

. . . . . . . . . . . . . .
computer artwork by subhash 
   http://www.subhash.at 
   High Power Projection 
Screen | Web | GrafikDesign
. . . . . . . . . . . . . .