• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to set document properties

Explorer ,
Jan 22, 2007 Jan 22, 2007

Copy link to clipboard

Copied

Is their any way to set the document properties for Word, Excel, Powerpoint and Adobe files through Coldfusion? (by properties I mean when you open up MS word for intance and then you go to the file menu and select properties, you get the dialogue box to set the author, title, subject etc. Is there a class that does this?

basically i want Coldfusion to go through a directory containing these filoetypes and then setting the proeprties. I think i need to use a COM object? If this is the case how can i implement this via CF?

any help apprciated on this.

Thanks
TOPICS
Advanced techniques

Views

275

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 22, 2007 Jan 22, 2007

Copy link to clipboard

Copied

LATEST
Hi

on windows OS give it try
objCom = CreateObject("COM", "Scripting.FileSystemObject");

Java object
objJava = createObject("java", "java.io.File");

as i am not JAVA guru find appropiate method and play around

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation