Re: FileMaker 7 and QuickMail 3.5
Re: FileMaker 7 and QuickMail 3.5
- Subject: Re: FileMaker 7 and QuickMail 3.5
- From: Jürgen Keser <email@hidden>
- Date: 11 Apr 2006 16:50:26 +0200
Hi,
I've found the problem in this code. With the new version of FileMaker it needs
the 'as string' behind the two lines in the code I've included.
global datensatz
global Maillist_betreffeld
global email_kunde
on run
set datensatz to a reference to current record of window 1
set email_kunde to cellValue of cell "Kd_email" of datensatz as string
set Maillist_betreffeld to "#" & email_kunde & "#" & "Test Body" as string
tell application "QuickMail"
activate
New Message "Plain monaco"
Set Message Maillist_betreffeld Body "The Message in the
mail" Recipients {"email@hidden"}
Message Send
end tell
end run
Best regards,
Jürgen
On Dienstag, 11. April 2006 10:06 Uhr, Jürgen Keser <email@hidden> wrote:
>Hi,
>
>now I've got one more problem with an old script that don't works
>after an update of QuickMail and FileMaker.
>
>The following script makes some trouble. It shows me an error that QuickMail
>receives an error that some data couldn't be converted to an typ that they want.
>The problem in this script ist the line
>set Maillist_betreffeld to "#" & email_kunde & "#" & "Test Body". It looks like that
>the global email_kunde is not the right type. If I replace the
>global email_kunde with for example "test" the script works without any problem.
>If I try to show what is inside of email_kunde with
>display dialog "Hello" & email_kunde it shows me Hello Juergen in the
>dialog. Because of this I think that the variable email_kunde
>ist ok.
>
>
>global datensatz
>global Maillist_betreffeld
>global email_kunde
>
>on run
> set datensatz to a reference to current record of window 1
> set email_kunde to cellValue of cell "Kd_email" of datensatz
> set Maillist_betreffeld to "#" & email_kunde & "#" & "Test Body"
> tell application "QuickMail"
> activate
> New Message "Plain monaco"
> Set Message Maillist_betreffeld Body "The Message in the
>mail" Recipients {"email@hidden"}
> Message Send
> end tell
>end run
>
>
>Thanks for any help.
>
>Best regards,
>
>Jürgen
>
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Applescript-users mailing list (email@hidden)
>Help/Unsubscribe/Update your Subscription:
>
>This email sent to email@hidden
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden