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

Events calls for insert Variable

New Here ,
Feb 08, 2017 Feb 08, 2017

Copy link to clipboard

Copied

Are there any events, which are called by FM only in case of insertion FM Variables?

Thanks!

TOPICS
Scripting

Views

273

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 ,
Feb 08, 2017 Feb 08, 2017

Copy link to clipboard

Copied

Hi KAKADu,

I don't think so.

You can find all Notification in  "Scripting Guide ADOBE® FRAMEMAKER® 2015 release"  on page 741.

The one, that comes nearest is :Constants.FA_Note_BackToUser (34):

Meaning: Any user action, such as a command choice or text entry.

But I don't think that is what you are looking for.

Could you descripe what you are trying to achieve? Maybe, there's another way?

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
New Here ,
Feb 08, 2017 Feb 08, 2017

Copy link to clipboard

Copied

I've already tried Constants.FA_Note_BackToUser (34), but it is also called in other cases and cannot be distinguish, if the insertion of FM Variables is actual called event or not.

What I'm trying to do is handle simple insertion of variables from "Variables Tab".

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 Expert ,
Feb 08, 2017 Feb 08, 2017

Copy link to clipboard

Copied

You could also try Constants.FA_Note_PreFunction or Constants.FA_Note_PostFunction. When you use these, you want to monitor the value of iparm when the event is called. The value of iparm is usually unique for a particular function (like inserting a variable).

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 ,
Feb 08, 2017 Feb 08, 2017

Copy link to clipboard

Copied

LATEST

The Constants.FA_Note_PreFunction and Constants.FA_Note_PostFunction don't trigger if you use the insert button from the Variables pod. I can't imagine why not...

Ian

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