Welcome to MAXScript. Error scanning macroscript file: C:\Program Files\Autodesk\3ds Max 2012\UI\MacroScripts\Macro_LightList.wtf.mcr, macroscript: Light_List; Error reading Category value Resource File not found. Note: PhysX SDK initialized Note: PhysX Plugin initialized Max to Physcs Geometry Scale = 1.0 -- Error occurred in createUIAccess(); filename: C:\Program Files\Autodesk\3ds Max 2012\scripts\info_strip.ms; position: 12396; line: 277 -- Frame: -- compilerResults: dotNetObject:System.CodeDom.Compiler.CompilerResults -- source: "using System; using System.Text; using System.Collections.Generic; using System.Runtime.InteropServices; using Microsoft.Win32; public class MB_UIAccess { private int _topHWND = 0; private String _strCaption = ""; private List _listWindows = new List(); private delegate int EnumCallBackDelegate(int hWnd, int lParam); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern IntPtr GetAncestor(IntPtr hWnd, int type); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern IntPtr GetForegroundWindow(); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern int GetClassName(int hWnd, StringBuilder lpClassName, int nMaxCount); [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true)] private static extern int SendMessage(Int32 hWnd, Int32 wMsg, Int32 wParam, StringBuilder lParam); public int GetActiveMaxWindow(String strCaption) { int HWND = (int) GetForegroundWindow(); if (HWND > 0) { String maxClass = "3DSMAX"; String windowTitle = (GetWindowTitle(HWND)).ToLower(); StringBuilder ownerClassBuilder = new StringBuilder(64); int ownerHWND = (int) GetAncestor(GetForegroundWindow(),3); GetClassName(ownerHWND, ownerClassBuilder, 64); if (((ownerClassBuilder.ToString()).ToLower() == maxClass.ToLower()) && (windowTitle.Contains(strCaption.ToLower()))) { return HWND; } } return 0; } public String GetWindowTitle(int HWND) { const int WM_GETTEXT = 13; const int WM_GETTEXTLENGTH = 14; StringBuilder windowTitle = new StringBuilder(); Int32 size = SendMessage(HWND, WM_GETTEXTLENGTH, 0, 0); if (size > 0) { windowTitle = new StringBuilder(size + 1); SendMessage(HWND, WM_GETTEXT, windowTitle.Capacity, windowTitle); } return windowTitle.ToString(); } } " -- compilerParams: dotNetObject:System.CodeDom.Compiler.CompilerParameters -- csharpProvider: dotNetObject:Microsoft.CSharp.CSharpCodeProvider -- called in preRenderAction(); filename: C:\Program Files\Autodesk\3ds Max 2012\scripts\info_strip.ms; position: 16086; line: 352 -- Frame: -- infoStripOldDef: -- baseNr: -737020 -- settingsVars: #(#custName1, #custName2, #custName3, #custName4, #custName5, #custProp1, #custProp2, #custProp3, #custProp4, #custProp5, #custScript, #fontBackColor, #fontForeColor, #fontName, #fontSize, #isBold, #isItalic, #isPermanent, #stripHeight, #stripText) -- infoStripNewDef: -- notStr: #(#fontBackColor, #fontForeColor, #isBold, #isItalic, #isPermanent, #stripHeight) -- rootDefs: #() -- called in btnAddCallbacks.pressed(); filename: C:\Program Files\Autodesk\3ds Max 2012\scripts\info_strip.ms; position: 26412; line: 632 -- Frame: >> MAXScript Rollout Handler Exception: -- Runtime error: dotNet runtime exception: Could not load file or assembly 'file:///C:\Users\Braiz\AppData\Local\Temp\cdcwe10q.dll' or one of its dependencies. The system cannot find the file specified. <<