Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Blank space in menu item



  • Please log in to reply
2 replies to this topic
homer_simpson
  • Members
  • 40 posts
  • Last active: Jul 11 2014 08:24 AM
  • Joined: 15 Nov 2012
Hello,
I have a script with a tray menu. One of the items is
menu, tray , add , Main_Options

I didn't succeed to have "Main Options", with a blank space instead of an uderscore.
I tried with {Main Options} but later it says "error this line does not contain a recognized action."

I'm sure it is possible, but I did not find any solution.

Thanks for helping,

Marco

sinkfaze
  • Moderators
  • 6367 posts
  • Last active: Nov 30 2018 08:50 PM
  • Joined: 18 Mar 2008
✓  Best Answer
You don't have all of the needed parameters, it should be Menu, Tray, Add, [Item Name], [Label Name] not Menu, Tray, Add, [Label Name]:


Menu, Tray, Add, Main Options, MainOptions
Menu, Tray, Show
return

MainOptions:
MsgBox, Success!!!
return


homer_simpson
  • Members
  • 40 posts
  • Last active: Jul 11 2014 08:24 AM
  • Joined: 15 Nov 2012
thanks !!
It works!