Thread Tools Display Modes
04/07/14, 11:21 AM   #1
Sebas613
Join Date: Apr 2014
Posts: 4
Saved text entry addon

Hey, I heard that this might not be even possible, but I'd like to know whether it actually isn't :P

I would LOVE an addon that would enable me to save a line of text from my chatbox, and another one to distribute it to one (or more) channels. I often trade in trade chats, and it is a pain in my ass to sometimes have to enter every item in the chatbox again.

Like:
/ste set1 WTS [Hide] 8g ea
/ste set2 WTS [Super special armour] 500g
....
...
...
(few options)

/ste viewall <shows the current set messages>

/ste options set1 <zone on/off (1/0)> <guild1 on/off (1/0)>. .... <guild5 on/off (1/0)>
^Sets where the message will be sent to
/ste options set2 ,,,,,,,,,,,,
/ste clear set(1/2/3/4/5) <deletes the msg in the specified set#>


If it is possible to make something like this (storing the itemlinks aswell, not just plain text) I'll be eternally grateful to the person who could make it =)
  Reply With Quote
04/07/14, 01:29 PM   #2
Cairenn
Credendo Vides
 
Cairenn's Avatar
Premium Member
WoWInterface Admin
Join Date: Mar 2004
Posts: 437
I know that there is at least one Notepad type addon coming. Don't know if it's possible for them to save 'links' or not, though. Someone else will need to answer that one.

Last edited by Cairenn : 04/07/14 at 01:31 PM.
  Reply With Quote
04/07/14, 02:10 PM   #3
Sebas613
Join Date: Apr 2014
Posts: 4
Originally Posted by Cairenn View Post
I know that there is at least one Notepad type addon coming. Don't know if it's possible for them to save 'links' or not, though. Someone else will need to answer that one.
Saw that, was interested in it aswell.
If that would be the case, it'd be truly amazing :P
  Reply With Quote
04/08/14, 07:49 AM   #4
Tajin
 
Tajin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 29
You know you can simply press the up-arrow in your chatbox to cycle through your last messages?
Its fairly easy to do that, jump to the beginning of the line, change the channel and then resend.


Anyways, I'm confident that saving links should work. Afterall you can copy/paste them just fine.
  Reply With Quote
04/08/14, 08:50 AM   #5
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
Yes you can save links if you get them via GetItemLink(bagID,slotID,linkType) etc. I used it to store link data into the saved variables file in one of my test addons to see what the format is.

For example:

local itemLink = GetItemLink(bagID,slotID, LINK_STYLE_DEFAULT)

Would appear in the saved variables file as follows:

[[|HFFFFFF:item:45837:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hKuoko|h]]

I would imagine writing that link out without alteration should work fine.
  Reply With Quote
04/08/14, 02:42 PM   #6
Sebas613
Join Date: Apr 2014
Posts: 4
Originally Posted by Tajin View Post
You know you can simply press the up-arrow in your chatbox to cycle through your last messages?
Its fairly easy to do that, jump to the beginning of the line, change the channel and then resend.


Anyways, I'm confident that saving links should work. Afterall you can copy/paste them just fine.
Mildty irritating if chatting with a lot of people, and you dont want to nonstop spam every channel :P

Then its faster to just make a new line entirely.
  Reply With Quote
04/08/14, 02:43 PM   #7
Sebas613
Join Date: Apr 2014
Posts: 4
Originally Posted by Xrystal View Post
Yes you can save links if you get them via GetItemLink(bagID,slotID,linkType) etc. I used it to store link data into the saved variables file in one of my test addons to see what the format is.

For example:

local itemLink = GetItemLink(bagID,slotID, LINK_STYLE_DEFAULT)

Would appear in the saved variables file as follows:

[[|HFFFFFF:item:45837:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hKuoko|h]]

I would imagine writing that link out without alteration should work fine.
I am not a coder, but I'm happy its there for anyone who could make it =)
  Reply With Quote
04/09/14, 06:25 AM   #8
Tonyleila
 
Tonyleila's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 288
Originally Posted by Xrystal View Post

Would appear in the saved variables file as follows:

[[|HFFFFFF:item:45837:1:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0|hKuoko|h]]

I would imagine writing that link out without alteration should work fine.
Is that a color code in the link? So can we link items as epic links also if they are just rar?
  Reply With Quote
04/09/14, 07:15 AM   #9
Xrystal
caritas omnia vincit
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2014
Posts: 369
Yes you could possibly build a new link up. Not tried it myself but theoretically it is sound.

And yes, that looks to be the color code based on other values that I have seen appear.
  Reply With Quote

ESOUI » AddOns » AddOn Search/Requests » Saved text entry addon


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off