I have the array Sample. It's working something like this:
Menu, Something, Add, %onevalue%, MenuHandler
but I want to use the value from the array directly, with no intermediar variable.
Menu, Something, Add, Sample, MenuHandler
Menu, Something, Add, %Sample%, MenuHandler
did not work. What should I do? Thanks!
Get help with using AutoHotkey and its commands and hotkeys
3 posts • Page 1 of 1
You want to do Menu, Something, Add, % Sample, MenuHandler. A % sign followed by a space allows you to insert expressions.
Who is online
Users browsing this forum: Ortorin and 42 guests