Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM Editor: Drop file -> path
#2
is it possible to have a drop onto id 2203 trigger ?

str.getmacrotype
Code:
Copy      Help
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"

Code:
Copy      Help
str _qmtype.getmacrotype
out _qmtype

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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)