July 9, 201510 yr 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?
July 9, 201510 yr 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, 201510 yr by Kris M
Create an account or sign in to comment