Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
icon in menu - variable
#1
why does def firefox_exe="path_to_firefox" not work in menus ?

in init2:
Code:
Copy      Help
def firefox_exe "C:\Programme\Mozilla Firefox\firefox.exe"


Code:
Copy      Help
;QM tray icon right-click menu
;Here you can insert more items

Find :men 2013 "+QM_Editor"
Forum :web "http://www.quickmacros.com/forum/index.php" * firefox_exe
Edit this menu :mac+ "tray"
-
Exit :shutdown -1
-
Triggers ... :mac "TM_Main"
Disable/enable :dis; _s="Tip: to automatically disable triggers in certain programs, use Scope settings[]in File Properties dialog (to open, press Ctrl+Shift+P in QM window)."; _s.setwintext(id(2204 _hwndqm))
End function ... :men 33042 "+QM_Editor"
End macro :shutdown -6
pi
#2
Does not work. Use environment variables instead.

In init2:

_putenv "firefox_exe=C:\Programme\Mozilla Firefox\firefox.exe"

In menus:

... * %firefox_exe%


Forum Jump:


Users browsing this thread: 2 Guest(s)