Highlighted

Events calls for insert Variable

New Here ,
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

180

Likes

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

Events calls for insert Variable

New Here ,
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

181

Likes

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

Likes

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
Reply
Loading...
Feb 08, 2017 0
New Here ,
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".

Likes

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
Reply
Loading...
Feb 08, 2017 0
Adobe Community Professional ,
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).

Likes

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
Reply
Loading...
Feb 08, 2017 0
Enthusiast ,
Feb 08, 2017

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Feb 08, 2017 0