Paste
Paste has been restarted and is active again!!
An update for TWW will be out in the weekend (Sept 22nd)!
Paste is a small utility that enables multi-line/unlimited-length pasting of text or commands into WoW
If you've ever tried to paste a paragraph of text or a list of slash commands into WoW you've probably noticed that newlines are stripped and anything over 255 characters is silently truncated. The Paste addon solves this problem.
Usage:
- Open the Paste window via minimap icon, keybind, LDB or /paste show
- Paste your clipboard text into the box with control-v / command-v
- Press the "Paste" button and the entire contents will be sent to your selected channel, one message per line, with long lines automatically split.
- The "Default" channel can be used to execute a list of slash commands (eg TomTom /way commands)
- Options are available via "/paste config"
Fully compatible with WoW 7.x and all chat addons.
Featured on Hearthcast Podcast #177!!
Feature requests & Bug Reports. Bug reports in comments will be deleted.
It is cool that the original addon is being brought back to life again :)
If you might be interrested, I have another version called PasteNG, that is a complete rewrite of this addon, with more features (like load/save pastes).
As the original developer has abandoned all his projects over 8 years ago, we have asked CurseForge (who were amazing help in this process) to update the AddOn from now on so that it could live on and people could keep using it. We are already looking to fix all the issues that have risen with it for the last 8 years and are expecting an update later this week.
I find it sad that this addon hasn't been updated in 8 years. Clearly it's been abandoned - and I'd very much love to see it brought up to date with the current expansion.
thanks fixed it
you can just do it on the begging of the core.lua:
local GetAddOnMetadata = C_AddOns.GetAddOnMetadata
In reply to Ullwarth01: This worked. Thank you!
Thx, it works.
I think paste messing around coz you cant see roll icon in raid. Any chance retail 11.02?
New patch error can be fixed by opening core.lua, and replacing all instances of GetAddOnMetadata with C_AddOns.GetAddOnMetadata
In reply to SirJorb:
This worked, thank you!
In reply to SirJorb: tysm =)
In reply to SirJorb: It worked, thank you!
In reply to SirJorb: Thank you for this! It worked great.
Currently broken.
1x Paste/core.lua:224: attempt to call global 'GetAddOnMetadata' (a nil value)
[string "@Paste/core.lua"]:224: in function `SetupVersion'
[string "@Paste/core.lua"]:244: in function <Paste/core.lua:242>
[string "=[C]"]: ?
[string "@CanIMogIt/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <CanIMogIt/Libs/AceAddon-3.0/AceAddon-3.0.lua:61>
[string "@CanIMogIt/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function `InitializeAddon'
[string "@CanIMogIt/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <CanIMogIt/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>
Locals:
self = <table> {
modules = <table> {
}
defaultModuleLibraries = <table> {
}
wherefn = <table> {
}
name = "Paste"
orderedModules = <table> {
}
db = <table> {
}
enabledState = true
baseName = "Paste"
defaultModuleState = true
}
svnrev = 0
files = <table> {
core.lua = 54
}
(*temporary) = nil
(*temporary) = "Paste"
(*temporary) = "X-Build"
(*temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)"
vars = <table> {
svnrev = <table> {
}
L = <table> {
}
}
addonName = "Paste"
addon = <table> {
modules = <table> {
}
defaultModuleLibraries = <table> {
}
wherefn = <table> {
}
name = "Paste"
orderedModules = <table> {
}
db = <table> {
}
enabledState = true
baseName = "Paste"
defaultModuleState = true
}
2x [ADDON_ACTION_BLOCKED] AddOn 'Paste' tried to call the protected function 'BuffleheadSecureHeaderPlayerBuffsAuraButton12:SetFrameLevel()'.
[string "@!BugGrabber/BugGrabber.lua"]:485: in function <!BugGrabber/BugGrabber.lua:485>
[string "=[C]"]: in function `SetFrameLevel'
[string "@Paste/libs/LibStrataFix-10034/LibStrataFix.lua"]:71: in function <...facePaste/libs/LibStrataFix/LibStrataFix.lua:58>
[string "@Paste/libs/LibStrataFix-10034/LibStrataFix.lua"]:81: in function <...facePaste/libs/LibStrataFix/LibStrataFix.lua:76>
[string "@Paste/libs/LibStrataFix-10034/LibStrataFix.lua"]:141: in function <...facePaste/libs/LibStrataFix/LibStrataFix.lua:121>
[string "=(tail call)"]: ?
[string "=[C]"]: in function `CreateFrame'
[string "@FrameXML/SecureGroupHeaders.lua"]:725: in function <FrameXML/SecureGroupHeaders.lua:724>
[string "@FrameXML/SecureGroupHeaders.lua"]:762: in function <FrameXML/SecureGroupHeaders.lua:735>
[string "@FrameXML/SecureGroupHeaders.lua"]:1083: in function `SecureAuraHeader_Update'
[string "@FrameXML/SecureGroupHeaders.lua"]:693: in function <FrameXML/SecureGroupHeaders.lua:689>
Locals:
_ = Frame {
RegisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
0 = <userdata>
UnregisterEvent = <function> defined @!BugGrabber/BugGrabber.lua:491
SetScript = <function> defined @!BugGrabber/BugGrabber.lua:491
}
event = "ADDON_ACTION_BLOCKED"
events = <table> {
ADDON_ACTION_BLOCKED = <function> defined @!BugGrabber/BugGrabber.lua:557
ADDON_ACTION_FORBIDDEN = <function> defined @!BugGrabber/BugGrabber.lua:557
PLAYER_LOGIN = <function> defined @!BugGrabber/BugGrabber.lua:551
LUA_WARNING = <function> defined @!BugGrabber/BugGrabber.lua:566
ADDON_LOADED = <function> defined @!BugGrabber/BugGrabber.lua:511
}
your addon currently causes the "loot rolls" window in raids to bug out
Getting this LUA error, not sure if anyone knows how to fix it
13x Interface/AddOns/Paste/core.lua:270: attempt to index global 'InterfaceOptionsFrame' (a nil value)
[string "@Interface/AddOns/Paste/core.lua"]:270: in function `Config'
[string "@Interface/AddOns/Paste/core.lua"]:297: in function `OnClick'
[string "@Interface/AddOns/AutoCombatLogger/Libs/LibDBIcon-1.0-44/LibDBIcon-1.0.lua"]:144: in function <...utoCombatLogger/Libs/LibDBIcon-1.0/LibDBIcon-1.0.lua:142>
Locals:
self = <table> {
SetDefaultModuleLibraries = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:363
SetupVersion = <function> defined @Interface/AddOns/Paste/core.lua:221
OnInitialize = <function> defined @Interface/AddOns/Paste/core.lua:242
NewModule = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:231
EnableModule = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:328
modules = <table> {
}
GetModule = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:206
IterateEmbeds = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:438
defaultModuleLibraries = <table> {
}
revision = 55
wherefn = <table> {
}
SetDefaultModulePrototype = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:405
Config = <function> defined @Interface/AddOns/Paste/core.lua:268
name = "Paste"
IsEnabled = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:447
orderedModules = <table> {
}
DisableModule = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:346
RefreshConfig = <function> defined @Interface/AddOns/Paste/core.lua:180
myOptions = <function> defined @Interface/AddOns/Paste/core.lua:42
CreateWindow = <function> defined @Interface/AddOns/Paste/core.lua:336
Update = <function> defined @Interface/AddOns/Paste/core.lua:195
settings = <table> {
}
IsModule = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:464
db = <table> {
}
SetDefaultModuleState = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:383
UpdateCount = <function> defined @Interface/AddOns/Paste/core.lua:561
SetEnabledState = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:420
enabledState = true
version = "1.4.10"
baseName = "Paste"
UpdateWhere = <function> defined @Interface/AddOns/Paste/core.lua:527
setEscapeHandler = <function> defined @Interface/AddOns/Paste/core.lua:647
PasteText = <function> defined @Interface/AddOns/Paste/core.lua:591
normalizeText = <function> defined @Interface/AddOns/Paste/core.lua:572
IterateModules = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:433
Enable = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:290
ToggleWindow = <function> defined @Interface/AddOns/Paste/core.lua:319
OnEnable = <function> defined @Interface/AddOns/Paste/core.lua:278
GetName = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:275
defaultModuleState = true
Disable = <function> defined @Interface/AddOns/ElvUI/Libraries/Core/Ace/AceAddon-3.0/AceAddon-3.0.lua:310
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'InterfaceOptionsFrame' (a nil value)"
optionsFrame = Frame {
0 = <userdata>
cancel = <function> defined @Interface/AddOns/AutoCombatLogger/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua:35
obj = <table> {
}
refresh = <function> defined @Interface/AddOns/AutoCombatLogger/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua:43
OnRefresh = <function> defined @Interface/AddOns/AutoCombatLogger/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua:43
OnDefault = <function> defined @Interface/AddOns/AutoCombatLogger/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua:39
name = "Paste"
OnCommit = <function> defined @Interface/AddOns/AutoCombatLogger/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua:31
okay = <function> defined @Interface/AddOns/AutoCombatLogger/Libs/AceGUI-3.0/widgets/AceGUIContainer-BlizOptionsGroup.lua:31
default = <function> defined @Interface/AddOns/Paste/core.lua:250
}
In reply to Xionyus:
Edit core.lua:
Replace "InterfaceOptionsFrame:IsShown()" with "SettingsPanel:IsShown()"
Replace "InterfaceOptionsFrame:Hide()" with "SettingsPanel:Hide()"
In reply to GurliGebis:
Thank you for the fix, worked!