Courtney Posted July 9, 2015 Posted July 9, 2015 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?
Kris M Posted July 9, 2015 Posted July 9, 2015 (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 July 9, 2015 by Kris M
Courtney Posted July 9, 2015 Author Posted July 9, 2015 Thanks Kris. I'll check out that script trigger.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now