CCopy
Small addon to copy chat lines.
CCopy has some configuration options, but you have to edit the file Core.lua in the CCopy directory to change them.
Configuration options
MARKER Line 14
Default: "*"
The "bit to click" that is displayed before the chat line.
SHOW_TIME Line 17
Default: false
Set this to true if you want to have the time displayed before chat lines instead of the marker string.
TIME_FMT Line 20
Default: "[%H:%M:%S]"
The format string for Lua's date function. See http://www.opengroup.org/onlinepubs/007908799/xsh/strftime.html
Hi
Dunno if this addon is still being updated or not, but I've been using this addon for a long time, its lightweight in its design and worked really well for me so thanks. I was wondering if pet battle log could be added to the lines thats copy-able ingame, would be nice. Thanks
Regards Akasut
Prat includes a chat copy function, there's no need for CCopy when you use Prat.
CCopy does not work with Prat 3.0 - any suggestions besides turning one addOn off?
you need to find the following lines and change them:
local ChatFrameEditBox = ChatFrameEditBox
change it to:
local ChatFrame1EditBox = ChatFrame1EditBox
and
ChatFrameEditBox:SetText(ChatFrameEditBox:GetText() .. msg)
if not ChatFrameEditBox:IsShown() then
ChatFrameEditBox:Show()
ChatFrameEditBox:HighlightText()
change that to the following:
ChatFrame1EditBox:SetText(ChatFrame1EditBox:GetText() .. msg)
if not ChatFrame1EditBox:IsShown() then
ChatFrame1EditBox:Show()
ChatFrame1EditBox:HighlightText()
If want to fix this yourself you can open the core.lua file with notepad or other text editor and do a replace. This worked for me but use at your own risk...
(note it is case sensitive)
I opened the core.lua file in the CCopy folder with Notepad. And there were 4 spot in said file that ChatFrameEditBox was listed. I changed them to ChatFrame1EditBox saved the file, closed out WoW and restarted it. I still got the same error message. What am i missing or doing wrong?
http://wow.curse.com/downloads/wow-addons/details/anea-whisp.aspx
Ok will have to toss this one and use something else--in the event that someone gets interested in fixing this addon here is the error:
Message: Interface\AddOns\CCopy\Core.lua:68: attempt to index upvalue 'ChatFrameEditBox' (a nil value)
Time: 06/25/10 19:55:27
Count: 2
Stack: Interface\AddOns\CCopy\Core.lua:68: in function `ShowMessage'
Interface\AddOns\CCopy\Core.lua:94: in function <Interface\AddOns\CCopy\Core.lua:80>
(tail call): ?
[string "*:OnHyperlinkClick"]:1: in function <[string "*:OnHyperlinkClick"]:1>
Locals: self =
SetDefaultModuleLibraries = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:381
Enable = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:313
NewModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:255
ClearMessage = <function> defined @Interface\AddOns\CCopy\Core.lua:52
EnableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:346
modules =
}
GetModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:230
IterateEmbeds = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:456
SecureHookScript = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:413
defaultModuleLibraries =
}
RawHookScript = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:398
GetName = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:298
name = "CCopy"
IsEnabled = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:465
AddMessage = <function> defined @Interface\AddOns\CCopy\Core.lua:75
DisableModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:364
ShowMessage = <function> defined @Interface\AddOns\CCopy\Core.lua:65
HookScript = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:369
IsHooked = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:496
IsModule = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:482
SetDefaultModuleState = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:401
SetEnabledState = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:438
Hook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:277
UnhookAll = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:480
baseName = "CCopy"
ChatFrame_OnHyperlinkShow = <function> defined @Interface\AddOns\CCopy\Core.lua:80
OnEnable = <function> defined @Interface\AddOns\CCopy\Core.lua:44
hooks =
}
SecureHook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:339
IterateModules = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:451
Disable = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:328
RawHook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:316
enabledState = true
Unhook = <function> defined @Interface\AddOns\Ace3\AceHook-3.0\AceHook-3.0.lua:421
SetDefaultModulePrototype = <function> defined @Interface\AddOns\Ace3\AceAddon-3.0\AceAddon-3.0.lua:423
defaultModuleState = true
}
msg = "[2. Trade] [Scrappycoco]: hmmm hmmm"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "[2. Trade] [Scrappycoco]: hmmm hmmm"
(*temporary) = <function> defined =[C]:-1
(*temporary) = "attempt to index upvalue 'ChatFrameEditBox' (a nil value)"
ChatFrameEditBox = nil
ID: 3
Error occured in: Global
Count: 3
Message: ..\AddOns\CCopy\Core.lua line 27:
attempt to index local 'msg' (a nil value)
Debug:
(tail call): ?
[C]: ?
CCopy\Core.lua:27: ClearMessage()
CCopy\Core.lua:34: ShowMessage()
CCopy\Core.lua:53:
CCopy\Core.lua:50
(tail call): ?
..\FrameXML\ChatFrame.lua:2588:
..\FrameXML\ChatFrame.lua:2587
[C]: ?
[C]: ?
[C]: ?
[C]: ChatFrame_OnHyperlinkShow()
[string "*:OnHyperlinkClick"]:1:
[string "*:OnHyperlinkClick"]:1
AddOns:
Swatter, v3.1.13 (<%codename%>)
WowheadLooter, v30100
ArcHUD2, v2.2
Atlas, v1.13.0
AtlasBattlegrounds, v1.13.0
AtlasDungeonLocs, v1.13.0
AtlasOutdoorRaids, v1.13.0
AtlasTransportation, v1.13.0
AtlasLoot, vv5.04.02
AtlasLootFu, vv5.04.02
AucAdvanced, v5.4.4157 (WallabyII)
AucFilterBasic, v5.4.4157 (WallabyII)
AucFilterOutlier, v5.4.4157.2531
AucMatchUndercut, v5.4.4157.2531
AucScanData, v5.4.4157 (WallabyII)
AucStatClassic, v5.4.4157 (WallabyII)
AucStatHistogram, v5.4.4157 (WallabyII)
AucStatiLevel, v5.4.4157 (WallabyII)
AucStatPurchased, v5.4.4157 (WallabyII)
AucStatSales, v5.4.4157.2842
AucStatSimple, v5.4.4157 (WallabyII)
AucStatStdDev, v5.4.4157 (WallabyII)
AucStatWOWEcon, v5.4.4157.2530
AucUtilAHWindowControl, v5.4.4157.3311
AucUtilAppraiser, v5.4.4157.2530
AucUtilAskPrice, v5.4.4157.3175
AucUtilAutoMagic, v5.4.4157.3142
AucUtilCompactUI, v5.4.4157.2530
AucUtilEasyBuyout, v5.4.4157.3583
AucUtilItemSuggest, v5.4.4157.3108
AucUtilPriceLevel, v5.4.4157.2545
AucUtilScanButton, v5.4.4157.2530
AucUtilScanFinish, v5.4.4157.2530
AucUtilScanProgress, v5.4.4157.2530
AucUtilSearchUI, v5.4.4157.3655
AucUtilSimpleAuction, v5.4.4157.0
AucUtilVendMarkup, v5.4.4157.2530
AutoProfit, v5.3
Babylonian, v5.1.DEV.130
BeanCounter, v5.4.4157 (WallabyII)
BigWigs, v2.0
BigWigsExtras, v2.0
BigWigsNorthrend, v2.0
BigWigsPlugins, v2.0
BonusScanner, v4.8
BrokerBonusScanner, v1.1
CCopy, v1.0
ChatBar, v2.7
ChatMOD, v131
Configator, v5.1.DEV.130
CooldownCount, v3.0
CurseProfiler, v
DebugLib, v5.1.DEV.130
Decursive, v2.4.0.3
Enchantrix, v5.4.4157 (WallabyII)
EnchantrixBarker, v5.4.4157 (WallabyII)
Examiner, v09.04.18
FishingBuddy, v0.9.6p
FlightMap, v
Gatherer, v3.1.13
HealBot, v3.1.0.0
Informant, v5.4.4157 (WallabyII)
Khaos, v2.4.1
MobInfo2, v3.61
myAddOns, v2.8
nQuestLog, v1.0
Postman, v3.0.8_$Revision: 17 $
qComments, v3.1.0
QuestHelper, v0.103
RecipeRadar, v1.31
Recount, v
SellFish, v2.1.8
SeriousBuffTimers, v1.0
SharedMedia, v3.0
SlideBar, v3.1.13 (<%codename%>)
Stubby, v5.4.4157 (WallabyII)
Titan, v4.1.9.30100 - Revision 216
TitanAmmo, v4.1.9.30100
TitanBag, v4.1.9.30100
TitanClock, v4.1.9.30100
TitanCoords, v4.1.9.30100
TitanDurability, v1.16
TitanEmote, v1.0.4.30000
TitanGoldTracker, v4.1.9.30100
TitanHealBot, v3.0.3.0
TitanLootType, v4.1.9.30100
TitanPerformance, v4.1.9.30100
TitanRegen, v4.1.9.30100
TitanRepair, v4.1.9.30100
TitanVolume, v4.1.9.30100
TitanXP, v4.1.9.30100
VanasKoS, v4.01b-$Rev: 391 $
(ck=a30)
Date: 2009-04-17 13:07:45
ID: 1
Error occured in: Global
Count: 1
Message: SendChatMessage(): Invalid escape code in chat message
Debug:
[C]: ?
[C]: ?
[C]: ?
[C]: SendChatMessage_Org()
ChatMOD\inc\ChatMOD.lua:645: SendChatMessage()
..\FrameXML\ChatFrame.lua:3055: ChatEdit_SendText()
..\FrameXML\ChatFrame.lua:3066: ChatEdit_OnEnterPressed()
[string "*:OnEnterPressed"]:1:
[string "*:OnEnterPressed"]:1
"CCopy is a small addon to copy lines of the chat window. It adds a star (*) at the beginning of each line. Click on this star to let CCopy open the chat edit box, copy the text in there and mark it. If the edit box is already open the text will be appended.
There is no configuration, to change the marker you have to edit the file Core.lua in the CCopy directory. In line 14 change
self.dot = '*' to whatever you want. Example:
For an plus sign as the marker line 14 should look like this:
self.dot = '+'"
@chris : click with ur mouse (left or right doesnt matter it seems) on the small star -> "*" that appears in front of each line (after timestamp if enabled)
ccopy will put that line into ur editbox so u can copy/paste the content.
and @ author : not everyone notices the small star, esp when used with small font/ fontsizes. And not everyone combines it automatically with the installation of ccopy.
i actually noticed the *, but I would not have had the simple idea testing a mouse click on it... Silly me!
Is there anyway to increase the amount of chat lines copyable in the memory?