Does the application preference object:
Do the job for you?
When you place an rtf file in the UI, you can select a preset. But a script can't select a preset for placing a file. You'd have to script the preferences you need using WordRTFImportPreference. The problem though is that not all options in the import dialog are in the scripting object model (I forget which ones), and there are some properties that you can script which are not in the interface.
Hi Dave, Peter,
thanks for your reply. In that case i will check WordRTFImportPreference but not sure if customize style import can be done for paragraph style sheets.
for example: word has "normal" and "head1" style but i want to map to indesign Body_light and H1 styles respectively.
You can't remap styles. You can decide whether to import unused styles and you can resolve style name clashes, but remapping isn't possible.