uc control add javascript in the end of file code example
Example 1: get the name of a current script in python
Use __file__. If you want to omit the directory part (which might be present), you can use os.path.basename(__file__)
Example 2: how to get all of the chldren of a panel in java
Component[] components = jpanel.getComponents();