cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Context Rules turning on/off

pzorrilla
1-Visitor

Context Rules turning on/off

Hello experts!!

I was wondering... there's a command in ACL which allows me to
automatically turn off the Context Rules Checking in Arbortext?

I really appreciate your response.

Regards.
Paulette Zorrilla
6 REPLIES 6

here's a good trick to know:

from the command line:

response(menu_cmd("Tools.Context Rules"))

This will display the command or alias that a menu item executes. For more
details, look up "menu_cmd" in Help.

Note: There are a few menu items in 6.0 that are "hidden" by some tricks
PTC introduced behind the scenes. Edit>Delete Markup being one of them.
Can't remember the trick to get around that right off the bat ...


On Tue, Jun 25, 2013 at 1:39 PM, paulette zorrilla <
paulette.zorrilla@oracle.com> wrote:

> Hello experts!!
>
> I was wondering... there's a command in ACL which allows me to
> automatically turn off the Context Rules Checking in Arbortext?
>
> I really appreciate your response.
>
> Regards.
> Paulette Zorrilla
>

Ah, it's:

response(menu_cmd("Edit.&Delete"))

But I don't know how you would know what variable name they used in order
to get around those menu items.


Paul! Thank you so much, as always you've help me a lot 😃 I will investigate now how can I execute the command received 😄



Regards.


Paulette Zorrilla

set context=off

Is there a way to "force" the user to run context checker before closing a document?

Have a look at the ACL command "doc_incomplete()". We have an ad-hoc document management system, and just check that prior to checkin, but I suppose you could do the same on document close.

I will note/warn, however, that occasionally this does produce false-positives, so it might also be a good idea to check if the document is saved first, since that typically corrects things, especially when it comes to caret location.

- keith

Announcements

Top Tags