thescarsolife Posted July 17, 2009 Share Posted July 17, 2009 I can't find how you add item to the menus on the top such as file>open file>save. could anyone tell me how to do this? or provide me with how I download "Koda"? thanks! Link to comment Share on other sites More sharing options...
enaiman Posted July 17, 2009 Share Posted July 17, 2009 GUICtrlCreateMenu -------------------------------------------------------------------------------- Creates a Menu control for the GUI. GUICtrlCreateMenu ( "submenutext" [, menuID [, menuentry]] ) Parameters submenutext The submenu text. menuID [optional] If defined, allows you to create a submenu in the referenced menu. If equal -1 it refers to first level menu. menuentry [optional] Allows you to define the entry number to be created. The entries are numbered starting at 0. Return Value Success: Returns the identifier (controlID) of the new control. Failure: Returns 0. GUICtrlCreateMenuItem -------------------------------------------------------------------------------- Creates a MenuItem control for the GUI. GUICtrlCreateMenuItem ( "text", menuID [, menuentry [, menuradioitem]] ) Parameters text The text of the control. menuID Allows you to create a submenu in the referenced menu. If equal -1 it refers to the first level menu. menuentry [optional] Allows you to define the entry number to be created. The entries are numbered starting at 0. menuradioitem [optional] 0 (default) = create a normal menuitem, 1 = create a menuradioitem Return Value Success: Returns the identifier (controlID) of the new control. Failure: Returns 0. Remarks To set or change information in the control see GUICtrlSet.... If the Text parameter is a "" then a separator line is created. GUICtrlSetState can be used as for other controls. See example. Quotes from AutoIt help file ... SNMP_UDF ... for SNMPv1 and v2c so far, GetBulk and a new example script wannabe "Unbeatable" Tic-Tac-Toe Paper-Scissor-Rock ... try to beat it anyway :) Link to comment Share on other sites More sharing options...
thescarsolife Posted July 17, 2009 Author Share Posted July 17, 2009 Thanks, mind telling me where this is in the help? Also would be nice if someone could tell me how to get Koda. tutorial says I should have it but when I go to tools its not their neither does it come up when hitting alt+m. Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 17, 2009 Moderators Share Posted July 17, 2009 thescarsolife,The info on these functions is in the Help file on the pages for GUICtrlCreateMenu and GUICtrlCreateMenuItem.The Help file itself is opened (on my system at least) by running "C:\Program Files\AutoIt3\AutoIt3Help.exe". If you prefer, you can press F1 or use the "Help -> Help" menu in SciTE, as long as you have an active .au3 file loaded.You will find the relevant pages by selecting the 'Contents' tab, and looking under "AutoIt -> Function Reference -> GUI Reference -> GUI Control Creation". Alternatively you could type GUICtrlCreateMenu or GUICtrlCreateMenuItem into the 'Index' tab search box. Or again you could type "menu" into the 'Search' tab search box, where they come up as items 22 and 33. As for Koda, it is situated at "C:\Program Files\AutoIt3\Koda\FD.exe" in my standard AutoIt install.I hope this answers your question.M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
thescarsolife Posted July 17, 2009 Author Share Posted July 17, 2009 Thanks! apparently I don't have it =(. Is there an available download link for Koda? I've tried reinstalling using the link in the tutorial but I still don't have Koda. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now