Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3424 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'd like to start collecting data on how often scripts and layouts are used so that I can determine which of them are obsolete. (I'm certain several scripts are no longer being used, but don't want to remove access to them until I have the data to back that up.)

For scripts, I believe it will be easy enough to create a new data table, and then put a line in each of my existing scripts that just writes some basic data to the new table (script name, user, timestamp).

Is there a fairly simple way that I could also look at layout usage? Something like a script trigger when a layout is entered or exited?

Posted (edited)

At the beginning of each script...

Get (ScriptName)

Record the script name.

OnLayoutLoad script trigger could be leveraged to record the layout.

Only thing youll have to iron out is if the Record script name part causes a go to layout event that fires the OnLayoutLoad trigger...infinite loop

 

Edited by Kris M

This topic is 3424 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.