Quantcast
Channel: PTC Community : All Content - Arbortext
Viewing all articles
Browse latest Browse all 1645

Unsourcing a file

$
0
0
This is a question that I haven't seen before in Adepters.  When I went
through the ACL course, I didn't think about it so I didn't ask. 

Once an ACL script has been sourced, can it be unsourced without having to
shut down Adept?  What I have is a script that reads if an environment
variable is set and if it is, it provides a different menu selection and
runs an external application. This script is sourced in a  PUBRC file.  

My problem is if a user starts working in the DOCTYPE needing the different
menu, they cannot open a file with a different DOCTYPE and not get the menu
changes.  This happens even if they close the file with DOCTYPE 'a' and open
a file with DOCTYPE 'b'. 

I have modified the close and exit menu scripts to change the menu back to
the default when a file is closed.  Until we added this application,
everything worked fine. 

Thanks,

Lynn E. Hales
Systems Specialist
AMSEC LLC
(757)896-5466
Lynn_Hales@amsec.nns.com



Viewing all articles
Browse latest Browse all 1645

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>