12-14-2007, 02:20 AM
what about a flag to return the macro type as string ?
instead of using:
str.getmacrotype
instead of using:
str.getmacrotype
function [$something]
;out something
str _qmitem.getmacro("" 1)
str _qmtype.getmacro("" 3)
;out _qmitem
sel val(_qmtype)
,case 0 this="macro"
,case 1 this="function"
,case 2 this="pop-up menu"
,case 3 this="toolbar"
,case 4 this="T.S. menu"
,case 5 this="folder"
,case 6 this="member function"