Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QM Editor: Drop file -> path
#1
whenever dropping files into the qm editor one will get
the file path as environment variables, like
7zFM.exe :run "$program files$\7-Zip\7zFM.exe"

how can i use it with own environment variables ?

MySQLAdministrator :run "$wamp$\apps\mysqlgui\MySQLAdministrator.exe"

when it can't be done in current version, then i will move this question
to the wish board.

thanks
pi
#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.
pi
#3
Code:
Copy      Help
_putenv "wamp=$program files$\wamp"

out _s.expandpath("%wamp%")


Qm editor drop trigger: Now cannot answer. In my future plans is adding a menu for various actions on the dropped file, and maybe also will add menu trigger or something.
#4
Gintaras Wrote:Qm editor drop trigger: Now cannot answer. In my future plans is adding a menu for various actions on the dropped file, and maybe also will add menu trigger or something.

please add this.
when using 2 monitors it would be so nice to drop text selection
onto id 2002 for creating a new qmitem.

which such handler a menu asking what kind of qmitem should be
created could be implemented.

and drop code from forum or related sites onto id 2203 could have an option
to paste bbcode without warning (auto transform).
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)