Skip to main content
1-Visitor
June 1, 2015
Solved

Executing one option from the menu bar since my ACL script

  • June 1, 2015
  • 2 replies
  • 2201 views

Hello everyone.. experts and enthusiasts,

Ok, so I'm creating a new menu and adding a new functionality in my Arbortext Editor, however, before I execute my tasks, some other stuff needs to be executed, specifically one other task, which belongs to another option provided in a different menu, what I'm trying to do is, to call that specific option since my acl script; does anybody knows if there is a way to achieve this? There's an available acl command to have access to the other feature? the reason why I'm not calling directly another script is because I don't have control of the other functionality, it was made by another team and I don't have direct access to their code or scripts.

As always I appreciate so much your time and support.

Paulette Zorrilla

Best answer by JeffStevenson

Hi Paulette,

I'm not sure that I understand the question.

You have to execute the code from another menu option as a prerequisite to your menu option. Is this correct?

I would think that you could just call the function that the other menu option executes from within your code at the point where you need it.

You also said that you don't have access to the other code. ACL is not encrypted so it should all be within the same custom folder structure or configured on the same machine as your code for the menu options to appear. You are going to have to be able to access the other code to know what function is being called and how to properly execute it.

Hope that helps!

2 replies

1-Visitor
June 10, 2015

Hi Paulette,

I'm not sure that I understand the question.

You have to execute the code from another menu option as a prerequisite to your menu option. Is this correct?

I would think that you could just call the function that the other menu option executes from within your code at the point where you need it.

You also said that you don't have access to the other code. ACL is not encrypted so it should all be within the same custom folder structure or configured on the same machine as your code for the menu options to appear. You are going to have to be able to access the other code to know what function is being called and how to properly execute it.

Hope that helps!

pzorrilla1-VisitorAuthor
1-Visitor
June 10, 2015

Jeff,

Thank you so much for your response; yep, at the end I had to navigate through the scripts inside custom folder and find what function is being called and how is being called. I was wondering if ACL could have any command to achieve this without "surfing" the code, I don't know, maybe a way for recognice the structure of the menu bar and access their options. As you said it, ACL is not encrypted so my solution required a little bit of time, patience and a cup of coffee

Again, thank you so much for your help.

Paulette

pzorrilla1-VisitorAuthor
1-Visitor
June 10, 2015

Sorry, I forgot to add something,

With this solution I depend on the code of the other tool I'm using, so even when I solved my issue I should take care of monitoring possible changes the other team could make to its code since this will affect me directly in case they would decide to change the function's name, location, etc.

I'm adding this comment just in case anybody could think is a useful note

1-Visitor
June 11, 2015

So true, Paulette! Change management can be a bear!