How do you change a file's name when attaching it to a task?
Changing "file name:this_item" to something like "file name:this_item & "your extension"" does not work as OF won't find a file like this (obviously).
Thanks for any hints.
This is the process for attaching a file with its original name:
Changing "file name:this_item" to something like "file name:this_item & "your extension"" does not work as OF won't find a file like this (obviously).
Thanks for any hints.
This is the process for attaching a file with its original name:
Code:
set NewTask to make new inbox task with properties {name:file_name} tell the note of NewTask make new file attachment with properties {file name:this_item, embedded:pEmbedFile} end tell