That's very dependent on what you actually want to add. Your question is very vague, so it's hard to give anything other than a vague answer, unfortunately...
In reply to Andrew Beckett:
I have writen a skill function and use it as a callback function of a user menu, it's about read a picture into memory. I intend to add this menu under the tools(in ADE form) automatically when the ADE was triggered. and now, this menu has been added in shematic composer window at startup, but now I want to move it to the ADE form. last time ,you told me i can add a menu in ADE through this way:
envSetVal("asimenv.startup" "sessInitTrigFunc" 'string "MYinitSession")
can you give me a simple example about my problem?
In reply to zfengINL:
I don't have a ready made example, and unfortunately don't have the bandwidth over the next couple of weeks to spend on this. Maybe somebody else has an example.
thanks all the same.