Example insert a right-click-Menu-entry
windowevent prerightclick
beasgui=rightclickmenu=1=Output Message=mymenuid=<global:System_home>bmp\project_green.png=3===messagebox=Hello World
end event
Call a function
windowevent open
// declare global functions
global function myfucntion
messagebox=this is my function
end global
end event
windowevent prerightclick
beasgui=rightclickmenu=1=Call my function=mymenuid=<global:System_home>bmp\project_green.png=3===myfunction()
end event