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

Events calls for insert Variable

New Here ,
Feb 08, 2017 Feb 08, 2017

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

Thanks!

TOPICS
Scripting
436
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
Enthusiast ,
Feb 08, 2017 Feb 08, 2017

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?

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

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".

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

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).

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

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