Skip to main content
Participant
December 23, 2021
Question

Script under FM2020 no longer works correctly

  • December 23, 2021
  • 3 replies
  • 1215 views

I need a script wiwh can import multi pages PDF. Please help !

chris

    This topic has been closed for replies.

    3 replies

    Community Expert
    January 10, 2022

    Hi Chris,

     

    What's the exact FrameMaker version?

    For FM 2020 you have to upgrade to 16.0.3 (that's the version number in Help | About).

    Here is the explanation.

    https://framescr.com/wb/downloads.html

     

    And of course it could be that you damaged the script file by opening in a non-Unicode text file and saving (as Klaus said).

     

    Best regards

     

    Winfried

    Participant
    January 10, 2022

    Hi Winfried,

    Thanks for your interest in my problem. My version is the right one : 16.0.3.379

    Best wishes

    Christelle

    4everJang
    Legend
    December 24, 2021

    I quickly browsed over your script and it is a lot of code. Also most of the people on this forum are using ESTK instead of FrameScript. So I doubt you will get an answer about exactly why the script no longer seems to be working in FM2020.

    If you developed the script yourself, you should be able to figure out what has changed, or at least where the script goes wrong in FM2020. If someone developed the script for you, that would be the person to ask about the upgrades required to make it work again. 

     

    Good luck

    Participant
    December 24, 2021

    I have no skills in coding. The script was made years ago by I-don't-know-who.

    what a pity it no longer works. It's weird.

    I don't despair someone manages to solve my problem.

    Thanks for your message.

     

    Merry Christmas !

    Christelle

    Klaus Göbel
    Legend
    December 24, 2021

    I have no idea about FrameScript, but there are 2 things worth mentioning in the script:

     

    1. Author is Michael Müller-Hillebrand @ Michael_Müller-Hillebrand-basb

    2. Encoding is strange:

     

    ///////// THIS FILE IS SUPPOSED TO BE UTF-8 ENCODED !! ///////////
    ///////// UTF-8 Trigger characters: äöü
    /*
    capImportPDFPages.fsl
    Copyright 2010 Michael Müller-Hillebrand, All Rights Reserved.

    Version:
    2010-07-09

    K.Daube
    Community Expert
    Community Expert
    December 23, 2021

    «Script under FM2020 no longer works correctly»

    @Christelle5FA8

    Which script?

    Participant
    December 23, 2021

    Hello,

    I need to import multipages PDF in my FRAMEMAKER files. I had a script working with the add on Framescript. It used to work with FM2015 but no more with FM2020. When the file is imported via the script  I get : several times the first page. For a imported PDF of 10 pages, I will get 10 pages but with the 10 times the same page. I have to click en page 2, right click, and click 'in background/ or behind) I don't know what it is in English, I'm French. And do the same for all the other pages. I can send you the files, if you want to test it.

     

    Thanks for your understanding,

    Best regards and Merry Christmas !

    Christelle

    Community Manager
    December 23, 2021

    Do you have upgraded FrameScipt as well? You will need FrameScript 7 for FM 2020: https://framescr.com/wb/ 

     

    That said: Can you open the FrameScript in a plain text editor (e.g. Notepad), Copy the content and insert it here? Maybe the scripting pros can see what the issue is.