12-14-2007, 03:00 AM
is it possible to have a drop onto id 2203 trigger ?
str.getmacrotype
with something like that i could automate removing file extension from a
dropped file.
or to perform something else when editing a special toolbar or menu.
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"with something like that i could automate removing file extension from a
dropped file.
or to perform something else when editing a special toolbar or menu.
