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

Save FrameMaker 2020 to 2019 via ExtendScript bug

Community Expert ,
Dec 01, 2020 Dec 01, 2020

Copy link to clipboard

Copied

When I save a FrameMaker 2020 file down to FrameMaker 2019 using ExtendScript, the top line of the file still says <MakerFile 16.0> so it won't open in 2019. It works in the interface with File > Save As.

 

#target framemaker

var doc;

doc = app.ActiveDoc;
saveDoc (doc);
doc.Close (true);

function saveDoc (doc) {	
    
    var params, returnParams, i;
    
    params = GetSaveDefaultParams ();
    returnParams = new PropVals ();

    i = GetPropIndex (params, Constants.FS_FileType);
    params[i].propVal.ival = Constants.FV_SaveFmtBinary150;
    i = GetPropIndex (params, Constants.FS_AutoBackupOnSave);
    params[i].propVal.ival = Constants.FV_SaveNoAutoBackup;
    i = GetPropIndex (params, Constants.FS_FileIsInUse);
    params[i].propVal.ival = Constants.FV_ResetLockAndContinue;

	FA_errno = 0;
    doc.Save (doc.Name, params, returnParams);
    if (FA_errno !== 0) {
		PrintSaveStatus (returnParams);
	}
}

 

TOPICS
Scripting

Views

312

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
Community Expert ,
Dec 01, 2020 Dec 01, 2020

Copy link to clipboard

Copied

Hi Rick,

 

It seems that this is an old bug:

https://tracker.adobe.com/#/view/FRMAKER-5258

 

When you vote there, it might get more attention.

 

Best regards

 

Winfried

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
Enthusiast ,
Dec 01, 2020 Dec 01, 2020

Copy link to clipboard

Copied

It's different from this bug. This old bug made the document unreadable. This new bug only pretends to save as 2019, but it stays 2020

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
Adobe Employee ,
Dec 01, 2020 Dec 01, 2020

Copy link to clipboard

Copied

Kindly log a new bug for the same.

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
Community Beginner ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Any idea when this will be fixed?

 

I found a bug report here:

FRMAKER-9560 | Tracker (adobe.com)

 

But it's been closed as "Duplicate". I can't find the duplicate.

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
Enthusiast ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

Is this the duplicate: FRMAKER-9526 ?

It is showing as fixed 

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
Community Beginner ,
May 20, 2021 May 20, 2021

Copy link to clipboard

Copied

LATEST

Yes that appears to be the duplicate. Looks like it was fixed in build 16.0.2.834. 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