m. osti wrote: >got me an error (container underlined) in english should be "waiting for >an end of line etc got an ID" (identificativo in italian) > >just to have more chances next time the right path should be: message >container "italy" of message container "europe" of message container "world"??
Well, you can't specify a "folder path" as a single string, you should refer to the folder from its parent folder. For example: property subj : "just try" property msgTxt : "ta da da" property rTo : "name <[email protected]>" property acct : "kk" property parentFolder : "parent folder name" property childFolder : "child folder name" tell application "PowerMail" set the newM to make new message with properties {subject:subj, content:msgTxt, recipient:rTo, account:acct} at message container childFolder of message container parentFolder open the newM end tell If you need to describe the folder path as a string, and the depth of the hierarchy is variable, you have to parse the string yourself: property subj : "just try" property msgTxt : "ta da da" property rTo : "name <[email protected]>" property acct : "kk" property folderPath : "parent folder name\\child folder name" tell application "PowerMail" set AppleScript's text item delimiters to {"\\"} set folderNames to text items of folderPath set AppleScript's text item delimiters to {""} set target to application "PowerMail" repeat with folderName in folderNames set target to message container folderName of target end repeat set the newM to make new message with properties {subject:subj, content:msgTxt, recipient:rTo, account:acct} at target open the newM end tell PS: the final version of 6.0.5 is available Jérôme - CTM Engineering --------------------------------------------------------------------- "As someone who's in the business of receiving and (ideally) responding to 50 - 100 emails a day, through three different accounts, using three different ports. As, someone who's in a constant state of disorganzation, always losing, confusing, and misusing. As someone who had to jump between OS9 and OSX machines for much longer than it was in vogue, and needed his email to jump with him. As a Mac user who's email is his bread and butter, and sometimes needs it to work better than he does. I find Powermail to be simply invaluable." J. Vernet, PowerMail user Download a demo version from www.ctmdev.com ---------------------------------------------------------------------

