Hi there, I want to create a small script to add any file in videos folder at "Autoplay\\Videos\\" to a tree when show with my code:
When I run preview, it shows a dialog box show that:Code:Debug.ShowWindow(true); Debug.SetTraceMode(true); result = File.Find("Autoplay\\Videos\\", "*.*", false, false, nil, nil); Tree.InsertNode("Items",0,result); context = Debug.GetEventContext(); Debug.Print(context);
Error: invalid key to 'next'
Stack Traceback:
1: [Page1 -> OnShow] Line 4: in main chunk
Debug show that:
I don't know where the error is and how to fix it! Can anyone help me to fix this?---------------------------
Error
---------------------------
Error: invalid key to 'next'
Stack Traceback:
1: [Page1 -> On Show] Line: 4 in main chunk
---------------------------
OK
---------------------------

Reply With Quote

