19-06-2012 02:44 PM - last edited on 06-07-2012 09:21 AM by François
Is is possible to have some assistance in writing code in the MEGA Script Editor, like an Intellisense? If so, how do I activate this?
Copy-paste the text below into the top of the MEGA Script editor to activate Intellisense for most MEGA components:
'MegaContext(Fields,Types)
'Uses(Toolkit)
'Uses(Standard)
'Uses(Drawing)
'Uses(WEBAccess)
'Uses(WEBUtilities)
'Uses(CodeGeneration)
'Uses(ExchangeGeneration)
'Uses(Components)
'Uses(Extensions)
In order for this to work, the code must be written in the "explicit" manner (DIM … as …) and you must be in the function of a macro and not just in the Script Editor.
A certain developer once told me that this code can be tricky. If the syntax is not recognized before the insertion point, the intellisense won't work.
10-09-2012 01:56 PM
hi lesley,
thanks for the great tip. This will come in handy.
Regards
stijn