Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Menu backround bitmap: variable path
#1
Menu Menu
Code:
Copy      Help
;/bmp "$program files$\test\new.bmp"
Macro :mac "Macro"


Any Chance to use global string for file path? path will probably diff on other Os or/and Country's


thanks
#2
Use environment variable.

Function init2
Code:
Copy      Help
str s="$program files$\test"
SetEnvVar "bmp_path" s

Menu Menu34
Code:
Copy      Help
;/bmp "%bmp_path%\new.bmp"
Macro :mac "Macro"
#3
perfect as always ! thanks alot

regards and Happy New Year to you and yours !


Forum Jump:


Users browsing this thread: 1 Guest(s)