How do I select a folder to make it the current selection in Applescript? 

If I try
"select message container 1 of message database 1"
I get 
"message container "Intray" doesn't understand the select message"

if I write 
"set F to message container 1 of message database 1
        set selection to F"

it goes trough, but the current selection is not changed and returned
value is undefined. Variable "expF" is "message container 'Intray' " so
that's a proper reference, isn't it? This means "Set Selection" doesn't
work in PM?

I don't think SetTellTarget can gain me anything as I want PowerMail to
be able to use the folder selection after I have selected it and not
being the object of an applescript.
So what can I use to achieve what I want here? "Current Selection" is r/o. 


PM 5.0.1 | OS X 10.3.4 | Powerbook G4/400 | 768 MB RAM | 30 GB HD




Reply via email to