Skip to main content
Inspiring
February 23, 2010
Answered

How to get creator application/default editor for a linked file.

  • February 23, 2010
  • 1 reply
  • 853 views

Hi All,

How can we get creator application or default editor for a linked file. There was IEditFile interface in CS2. What can we use in its place in CS4.

I tried using CanEditResource() of ILinkResourceHandler and GetEditorList() of ILinkUtils, but none of them seem to work.

Any hint would be of great help.

Regards,

Jasmine Shaikh

This topic has been closed for replies.
Correct answer Bartek_Kropaczewski

If you know path to the file you can use LSGetApplicationForItem on Mac. On windows you probably need to deal with registry but if you'll search MSDN, then maybe you'll find desired library.

Regards

Bartek

1 reply

Inspiring
March 25, 2010

Hi All,

No replies.

I am back on this issue. Tried to search a lot, but didn't get anything similar to IEditFile to work on CS4.

Thanking in advance for your suggestions.

Jasmine

Bartek_Kropaczewski
Bartek_KropaczewskiCorrect answer
Inspiring
March 25, 2010

If you know path to the file you can use LSGetApplicationForItem on Mac. On windows you probably need to deal with registry but if you'll search MSDN, then maybe you'll find desired library.

Regards

Bartek

Inspiring
March 26, 2010

Thanks Bartek.