Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pink icon path string in menu/toolbar: make/insert variable
#1
Is it possible to insert a variable within the pink icon path in menu/toolbar?
(not really important, but if possible then would like to know how)

Currently

Code:
Copy      Help
Execute this mac :mac "mac123" * f:\path\to\icon

If possible, something like the F in string variables:

Code:
Copy      Help
Execute this mac :mac "mac123" *  F"{VAR}\to\icon"

I read:
...\qm2help.chm::/QM_Help/IDH_TOOLBAR.html
...\qm2help.chm::/QM_Help/IDH_POPUP.html
...\qm2help.chm::/QM_Help/IDH_MENUICONS.html

It seems only the methods described in IDH_MENUICONS.html are possible.
#2
Macro Macro167
Code:
Copy      Help
SetEnvVar "VAR" "f:\path"

Menu Menu59
Code:
Copy      Help
Execute this mac :mac "mac123" * %VAR%\to\icon

Cannot insert other variables, only environment variables.
#3
That's very handy!!!
Thank you!!!


Forum Jump:


Users browsing this thread: 1 Guest(s)