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

Scripting/Macros in FM

Community Beginner ,
Jul 17, 2024 Jul 17, 2024

Is there currently a built-in scripting/macro capability in FM (Version 17.0.0.226)? I haven't needed any such thing in ~25 years as a user, but I think I might now. Specifically, I need to import large (potentially hundreds of pages) multipage PDFs into individual anchored frames in my book. TIA for any pointers in the right direction....

TOPICS
Scripting
269
Translate
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 ,
Jul 18, 2024 Jul 18, 2024

Yes, but @frameexpert would better be able able to get into the specifics as I don't do any scripting at all.

Translate
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 ,
Jul 18, 2024 Jul 18, 2024

Yes, ExtendScript (Adobe's version of Javascript) is built into FrameMaker 10 and higher. I have created several of these PDF import scripts over the years. They have been customized for individual clients and are too complicated to post for free, but people on this forum can help you with individual tasks that a script like this would entail.

Translate
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 ,
Jul 18, 2024 Jul 18, 2024

Thanks. After I posted this, I checked the FM Help (duh!) and discovered the existence of ExtendScript... but when I try to launch the ESTK (File>Script>New Script), nothing happens. I'm wondering if it's perhaps been locally disabled (my company's IT organization is fussy about people writing code on our system)?

 

In any case, I don't know anything about Javascript (or, really, any coding more complex than an FM autonumber format), so it might not matter. I would be interested, though, in automating the task I described in the OP (page-framing long PDF documents within an FM document). I'm not in a position to purchase anything myself, but I could certainly recommend the right product to people who are; if anyone could reach out to me, or point me in the right direction to find such a product, I'd be grateful.

Translate
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 ,
Jul 18, 2024 Jul 18, 2024

Strangely, Adobe stopped distributing the ExtendScript Toolkit with FrameMaker; however, if you google it, it is out there somewhere for download. If you want to meet offline, I can look at your requirements and tell you what is possible. rick at frameexpert dot com

Translate
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 ,
Jul 18, 2024 Jul 18, 2024
LATEST
Translate
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