Checking a menu item in VB
Rate Topic:




-
Group:
Member
-
Posts:
2
-
Joined:
14-October 06
Posted 03 January 2007 - 06:45 PM
How do I check a menu item in VB script?
Here are the menus.
I'd like to check and uncheck "Show Symbol".
Thanks
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 04 January 2007 - 01:52 PM
if you look at OS Volume you'll see how its done.
Basically in your code, all you need to do is say.
Menus(0).SubMenu(2).Checked = true
2 is the "index position" of the menu entry
0
-
Group:
Member
-
Posts:
2
-
Joined:
14-October 06
Posted 04 January 2007 - 05:25 PM
I tried that. It does not work in VB. I will try to convert from VBS to JS.
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 05 January 2007 - 12:56 PM
if you email me your vb code, I'll try it out and see if there is a bug with avescripter.
0