Go to Page... |
Compatibility: | Gold Road (10.0.0) Scions of Ithelia (9.3.0) |
Updated: | 05/19/24 07:17 AM |
Created: | 07/11/15 10:51 AM |
Monthly downloads: | 28,098 |
Total downloads: | 4,629,449 |
Favorites: | 2,031 |
MD5: |
local entries = { { label = "Test 1", callback = function() d("Test 1") end, }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local function GetEntries(rootMenu) d("run") return { { label = function() return GetTimeStamp() end, callback = function() d("Test 1") end, }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } end ClearMenu() AddCustomSubMenuItem("Sub Menu", GetEntries) ShowMenu()
local entries = { { label = "Test 1", callback = function() d("Test 1") end, }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local myState = true local entries = { { label = "Test 1", callback = function(state) myState = state df("Test 1: %s", tostring(myState)) end, checked = function() return myState end, itemType = MENU_ADD_OPTION_CHECKBOX, }, { label = "Test 1b", callback = function() d("Test 1b") end, itemType = MENU_ADD_OPTION_LABEL, }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) ShowMenu()
local function func(inventorySlot, slotActions) end
local function func() end
ZO_CreateStringId("SI_BINDING_NAME_SHOW_POPUP", "Show in Popup") local function AddItem(inventorySlot, slotActions) local valid = ZO_Inventory_GetBagAndIndex(inventorySlot) if not valid then return end slotActions:AddCustomSlotAction(SI_BINDING_NAME_SHOW_POPUP, function() local bagId, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot) local itemLink = GetItemLink(bagId, slotIndex) ZO_PopupTooltip_SetLink(itemLink) end , "") end LibCustomMenu:RegisterContextMenu(AddItem, LibCustomMenu.CATEGORY_PRIMARY)
local function AddItem(inventorySlot, slotActions) local bagId, slotIndex = ZO_Inventory_GetBagAndIndex(inventorySlot) if not CanItemBePlayerLocked(bagId, slotIndex) then return end local locked = IsItemPlayerLocked(bagId, slotIndex) slotActions:AddCustomSlotAction(locked and SI_ITEM_ACTION_UNMARK_AS_LOCKED or SI_ITEM_ACTION_MARK_AS_LOCKED, function() SetItemIsPlayerLocked(bagId, slotIndex, not locked) end, "keybind2") -- you can use: "primary", "secondary", "keybind1", "keybind2" end local menu = LibCustomMenu --menu:RegisterContextMenu(AddItem, menu.CATEGORY_PRIMARY) menu:RegisterKeyStripEnter(AddItem, menu.CATEGORY_LATE)
local function func(control, inside) end
local myState = true local entries = { { label = "Test 1", callback = function(state) myState = state df("Test 1: %s", tostring(myState)) end, checked = function() return myState end, itemType = MENU_ADD_OPTION_CHECKBOX, tooltip = "This is Test 1", }, { label = "Test 1b", callback = function() d("Test 1b") end, itemType = MENU_ADD_OPTION_LABEL, tooltip = "This is Test 2", }, { label = "-", }, { label = "Test 2", callback = function() d("Test 2") end, disabled = function(rootMenu, childControl) return true end, } } ClearMenu() AddCustomSubMenuItem("Sub Menu", entries) AddCustomMenuTooltip("A sub-menu") AddCustomMenuItem("-", function() d("soso") end) AddCustomMenuItem("Button", function() d("jojo") end) AddCustomMenuTooltip(function(control, inside) if inside then d("A great button") end end) AddCustomMenuItem("CheckBox", function() d("soso") end, MENU_ADD_OPTION_CHECKBOX) ShowMenu()
local index = AddCustomMenuItem("CheckBox", function() <your callback> end, MENU_ADD_OPTION_CHECKBOX) if needToCheckIt then ZO_CheckButton_SetChecked(ZO_Menu.items[index].checkbox) end
local function func(inventorySlot, slotActions, ctrl, alt, shift, command) end
local function func(playerName, rawName) end
local function func(rowData) end
local function AddItem(data) AddCustomMenuItem("Example", function() d(data.displayName) end) end local menu = LibCustomMenu menu:RegisterFriendsListContextMenu(AddItem, menu.CATEGORY_EARLY) menu:RegisterFriendsListContextMenu(AddItem, menu.CATEGORY_LAST)
File Name |
Version |
Size |
Uploader |
Date |
7.2.1 |
8kB |
votan |
03/13/23 03:24 PM |
|
7.2.0 |
8kB |
votan |
03/11/23 11:59 AM |
|
7.1.3 |
8kB |
votan |
04/24/22 09:04 AM |
|
7.1.2 |
8kB |
votan |
10/24/21 07:44 AM |
|
7.1.1 |
8kB |
votan |
09/05/21 07:30 AM |
|
7.1.0 |
8kB |
votan |
09/04/21 09:32 AM |
|
7.0.1 |
8kB |
votan |
07/04/21 04:46 AM |
|
7.0.0 |
8kB |
votan |
04/28/21 11:21 AM |
|
6.9.5 |
7kB |
votan |
02/20/21 09:09 AM |
|
6.9.4 |
7kB |
votan |
11/02/20 04:41 AM |
|
6.9.3 |
7kB |
votan |
08/22/20 04:55 AM |
|
6.9.2 |
7kB |
votan |
04/21/20 03:12 PM |
|
6.9.1 |
7kB |
votan |
04/04/20 06:22 AM |
|
6.9.0 |
7kB |
votan |
04/03/20 11:43 AM |
|
6.8.2 |
7kB |
votan |
02/15/20 11:44 AM |
|
6.8.1 |
7kB |
votan |
10/03/19 04:37 AM |
|
6.8.0 |
7kB |
votan |
08/07/19 01:15 PM |
|
6.7.1 |
7kB |
votan |
07/30/19 11:57 AM |
|
6.7.0 |
7kB |
votan |
05/18/19 08:07 AM |
|
6.6.3 |
16kB |
votan |
02/23/19 10:15 AM |
|
6.6.2 |
8kB |
votan |
10/21/18 09:31 AM |
|
6.6.1 |
7kB |
votan |
10/19/18 12:13 PM |
|
6.6 |
14kB |
votan |
08/13/18 11:17 AM |
|
6.5 |
8kB |
votan |
04/22/18 05:21 AM |
|
6.4 |
7kB |
votan |
04/16/18 11:45 AM |
|
6.3 |
7kB |
votan |
03/03/18 10:58 AM |
|
6.2 |
8kB |
votan |
02/02/18 12:35 AM |
|
5 |
7kB |
votan |
01/27/18 03:11 PM |
|
5 |
7kB |
votan |
08/15/17 12:34 PM |
|
4.3 |
6kB |
votan |
07/15/17 01:00 PM |
|
4.2.0 |
6kB |
votan |
10/12/16 12:56 PM |
|
4.1.1 |
6kB |
votan |
03/07/16 12:13 PM |
|
4.1.0 |
6kB |
votan |
11/22/15 02:24 PM |
|
4.0.0 |
6kB |
votan |
08/06/15 10:48 AM |
|
3.0.0 |
6kB |
votan |
07/25/15 05:36 AM |
|
2.0.0 |
5kB |
votan |
07/11/15 10:51 AM |
Comment Options |
LadyVonde |
View Public Profile |
Send a private message to LadyVonde |
Find More Posts by LadyVonde |
Add LadyVonde to Your Buddy List |
05/01/21, 08:04 AM | ||
Forum posts: 2
File comments: 74
Uploads: 0
|
Worked for me!
|
|
|
Geraintmawr |
View Public Profile |
Send a private message to Geraintmawr |
Find More Posts by Geraintmawr |
Add Geraintmawr to Your Buddy List |
05/01/21, 03:06 AM | |||
Re: fix not working
|
|||
|
votan |
View Public Profile |
Send a private message to votan |
Find More Posts by votan |
Add votan to Your Buddy List |
05/01/21, 12:47 AM | ||
Forum posts: 0
File comments: 4
Uploads: 0
|
fix not working
I tried this and sadly its not working for me, I get the error on all my alts when doing nightly writs.
|
|
|
Reflexwolf |
View Public Profile |
Send a private message to Reflexwolf |
Send email to Reflexwolf |
Find More Posts by Reflexwolf |
Add Reflexwolf to Your Buddy List |
04/30/21, 05:40 PM | |
|
I had to remove LibCustomMenu and LibStub from the libs (and .txt) of Item Set Browser as well to get things working.
|
|
rufusredbeard |
View Public Profile |
Send a private message to rufusredbeard |
Send email to rufusredbeard |
Find More Posts by rufusredbeard |
Add rufusredbeard to Your Buddy List |
04/30/21, 07:25 AM | |
Forum posts: 0
File comments: 7
Uploads: 0
|
That fixed it! Thank you very much
|
|
PucMudDofuss |
View Public Profile |
Send a private message to PucMudDofuss |
Send email to PucMudDofuss |
Find More Posts by PucMudDofuss |
Add PucMudDofuss to Your Buddy List |
04/30/21, 03:06 AM | ||
Re: Re: Re: Same as the rest
No Errors, no other lua messages. I had many addons with the old LibCustomMenu.lua and delete them all. Everything now is fine and works. >>>>only for info, maybe others can make it like this way. its very easy and quick (i personaly use 200+ addons and it take arround 10 min to find all outdated libs and delete them. no edit on textfiles).<<<< Thx Baertram for putting me on this way. |
||
|
FWSWBN |
View Public Profile |
Send a private message to FWSWBN |
Send email to FWSWBN |
Find More Posts by FWSWBN |
Add FWSWBN to Your Buddy List |
04/30/21, 02:01 AM | |||
|
Re: Re: Same as the rest
A maybe easier solution would also be to find the folder live/Addons/LazyWritCrafter and check the subfolder "libs". Delete the file LibCustomMenu.lua in there as this is the outdated version.
Without editing the txt file this will make the addon manager stop loading the outdated version and if you install the newest version of LibCustomMenu to live/AddOns directly it will be loaded from there properly. At the "Help" menu above you'll find a howto manually install addons. There you'll find the info how to locate your live/AddOns folder. In the forum "Addon help" you can also read the sticky post about finding the addon folder, with more ways to locate the folder (e.g. Taking a Screenshot ingame and watch the filename shown at the top right screen edge. The folder above "Screenshots" is your live folder, so just open it with a file explorer and navigate to the subfolder "AddOns" . For the ones charging the txt files with an editor: please always logout before doing this, else it might not work. Either add the # at the beginning of the line where /livs/LibCustomMenu.lua is called, or completely delete this line so the file won't be called anymore. But at best just copy & paste the whole contents Votan provided. Should be the easiest thing.
Last edited by Baertram : 04/30/21 at 02:05 AM.
|
||
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Send email to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
04/29/21, 07:00 PM | ||
Forum posts: 5
File comments: 35
Uploads: 0
|
Re: Same as the rest
And thanks much @Votan! |
|
|
Sylvermoon |
View Public Profile |
Send a private message to Sylvermoon |
Send email to Sylvermoon |
Find More Posts by Sylvermoon |
Add Sylvermoon to Your Buddy List |
04/29/21, 06:07 PM | |
Forum posts: 1
File comments: 3
Uploads: 0
|
Same as the rest
So I tried the fix in the txt for lazy crafting and it didn't work. Any suggestions?
|
|
minigamer |
View Public Profile |
Send a private message to minigamer |
Send email to minigamer |
Find More Posts by minigamer |
Add minigamer to Your Buddy List |
04/29/21, 03:47 PM | ||
|
||
|
Torvar |
View Public Profile |
Send a private message to Torvar |
Send email to Torvar |
Find More Posts by Torvar |
Add Torvar to Your Buddy List |
04/29/21, 03:06 PM | |
Forum posts: 5
File comments: 52
Uploads: 0
|
Its also broke Ult guild store and auto catagorize for bank and bag
|
|
nk125x |
View Public Profile |
Send a private message to nk125x |
Send email to nk125x |
Find More Posts by nk125x |
Add nk125x to Your Buddy List |
04/29/21, 02:06 PM | ||||
Forum posts: 0
File comments: 1
Uploads: 0
|
This works!
Thank you for this! For those of us who are less savvy on fixing this kind of stuff and will ask, "well how do i do that?" (like I did on google), quick solution is to search your computer files where you save your edits (likely My Documents on PC) for the DolgubonsLazyWritCreator.txt file then make the changes!
|
|||
|
zamborlini |
View Public Profile |
Send a private message to zamborlini |
Send email to zamborlini |
Find More Posts by zamborlini |
Add zamborlini to Your Buddy List |
04/29/21, 01:21 PM | ||
Forum posts: 0
File comments: 37
Uploads: 0
|
|
|
|
ajaxcat1 |
View Public Profile |
Send a private message to ajaxcat1 |
Send email to ajaxcat1 |
Find More Posts by ajaxcat1 |
Add ajaxcat1 to Your Buddy List |
04/29/21, 01:15 PM | |
Forum posts: 3
File comments: 87
Uploads: 0
|
please roll back ver 7 or fix it. Thank you
|
|
rumple9 |
View Public Profile |
Send a private message to rumple9 |
Send email to rumple9 |
Find More Posts by rumple9 |
Add rumple9 to Your Buddy List |