This is an AddOn designed to easily copy chat. The focus of this work was to use as little system ressources as possible.
The main feature of this AddOn is obviously copying chat. To do so, you have to click on the timestamp created in front of each line. You can of course replace the timestamp with any custom word / letter.
Timestamp behavior:
- normal click: Opens a small window containing the chat line. You can then mark the text and copy it using [Ctrl]+[C] to paste it later, or in different Applications (paste: [Ctrl]+[V] )
- normal click while the chatbox is opened: will paste the line into the chatbox
- shift click: Instantly pastes the line to the last "sticky" chat-type (guild, raid, party...)
- shift click while the chatbox is opened: Instantly pastes the line to the whatever chat-type your editbox is set to (especially usefull for pasting in whisper)
Additional features:
- remember how clicking a character name opens the chatbox to whisper the character? EasyCopy adds similar behavior to any chat-type-identifier ( [Guild], [Raid], [6. btrogues], ...)
- hide the buttons for scrolling next to the chat
- mousewheel scrolling
- sticky channels
- shorten chat-type-identifiers ( [Guild] => [G] ), or completely hide them
- Copy / Link chunks of text
Hi, really like the idea of this mod!
I know this is asking alot but is there any chance you could post a version with just the copycode ?
I have all the other functions already and all i am missing is a a mod to easily copy text from the chat.
Hi nice addon but since i had a pc crash there is a bug:
In Guild and Raid Chat i see the timestamp but in /2 there is just a "|Hezc:" instead the time. I try to fix i did not know many about lua
Thanks for help and sry for bad english.
Two small things I've noticed so far that may be problems with EasyCopy
or conflict with other chat related addon (I've got a couple more running).
The checkbox that shows/hides chat buttons:
Hide, hides them properly.
Show doesn't show them again on my system.
I went into function EasyCopy_UpdateButtons()
and copied all the *Button:Hide();
after the 'else' with :Show(); and it fixed it for me.
If you copy a text line containing an icon the icon appears normally in EC editbox.
Using the 'Post' button to insert the message back into a channel gives the following error:
Code:
2008/10/12 18:07:40-530-x2]: SendChatMessage(): Invalid escape code in chat message:
<in C code>: ?
EasyCopy-2.3\EasyCopy.lua:776: in function `func'
Interface\FrameXML\UIDropDownMenu.lua:568: in function `UIDropDownMenuButton_OnClick':
<string>:"*:OnClick":1: in function <[string "*:OnClick"]:1>
Typing {star} or {rt1} in the Easycopy editbox and then using 'Post' inserts the text + icon properly without errors.
Only when you have copied an existing icon, that appears as graphic in EC pasting back errors.
To make the recent version of EasyCopy error-free on the beta/ptr
the following changes are required:
(it will still not be completely wow 3.x ready but at least it won't spam errors in every onupdate)
Users that have "Show Lua Errors" checked on the beta client or using an error redirect addon,
are getting a ton of errors with the current version.
EasyCopy.lua: Lines 84->87
All the UIDropDownMenu_ need the order of the arguments reversed like this:
Note: There is no way to have EasyCopy functioning on both the current live (2.4.x wow) and beta client (3.x wow).
Those edits are necessary for the addon to be functional on WotLK but there needs to be a check (GetBuildInfo()?)
and to run different code depending on wow version,
or the WotLK version to be split off to a separate download.
There's also a logical bug (not producing any kind of lua errors)
The "Show buttons" checkbox has the inverse behavior of what a user would expect,
same with its initial state when the addon loads.
If you check 'Show Buttons', the chat scroll buttons actually hide atm and vice versa.
Sorry for the wall of text, and much thanks for keeping EasyCopy going (and improving it)