So im coding this app and i need some help as my cod dosent work when i try and click on anything nothing happens
Code:<onclick lang="python"><![CDATA[ list = mc.GetWindow(14000).GetList(100) listitems = list.GetItems() listitem = listitems[list.GetFocusedItem()] if ".xml" in list.GetPath(): browse = mc.GetWindow(14000).GetList(100) browse.SetContentURL(listitem.GetPath()) mc.GetActiveWindow().PushState() mc.GetWindow(14000).GetControl(100).SetVisible(True) mc.GetWindow(14000).GetControl(100).SetFocus() elseif ".mp4" in listitem.GetPath() mc.ShowDialogNotification("YEWWWW") ]]>



Reply With Quote


Bookmarks