Hello list,

in an AS-example of scripting mail.app on Mac OSX I found:

...
set theAttachment to choose file
...
make new attachement with properties {file:theAttachment} at after the last paragraph
...

I want to choose the file in a Revolution-Script and use the choosen FilePath in the AS-Script by replacing "TheAttachement" with the FilePath:

So I put the AS-script into a field "MyScript" :

...
make new attachement with properties {file:theAttachment} at after the last paragraph
...

and wrote

answer file "what file to attach?"
put it into AttachFileName
replace theAttachment with AttachFileName in field "MyScript"
do field MyScript as Applescript

But it doesn´t work and I suspect, is is because a wrong form of the filepath.

May you help?

Thank you, Richard.


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to