Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(30 Kb)
Download
Updated: 11-08-14 08:07 AM
Pictures
File Info
Compatibility:
Warlords of Draenor Pre-Patch (6.0.3)
Updated:11-08-14 08:07 AM
Created:unknown
Downloads:26,300
Favorites:365
MD5:
6.0.3

TinyPad  Popular! (More than 5000 hits)

Version: 2.0.3
by: Gello [More]

TinyPad is a notepad addon.

New in 2.0.3

  • Quest link support temporarily removed to allow the use of items in the objective tracker.

How to Use

To summon: /tinypad or /pad or set a key binding.
To resize: drag the resize grip in the lower right corner of the window.

The mod should be self explanatory how to use. Mouseover buttons to see what they do.

Link Support
  • Links supported: Items, Spells, Tradeskills, Recipes, Quests, Achievements, and Battle Pets you own
  • To add links to pages: Bring up a TinyPad page and put the blinking cursor where you want to insert a link, then shift+click an item, spell, recipe, quest or achievement as you ordinarily would to chat. To link an entire tradeskill, click the chat bubble in the upper right of the tradeskill window, as you would for chat or macros.
  • To view links: Click them.
  • To send links: Shift+click to chat as you would normally.
  • Links can't be copy-pasted naturally and remain clickable. But the addon Linkerize will allow cut/pasting links with control codes.
  • Links may display only a handful of characters, but they have many hidden control characters. The EditBox is not intended to handle massive amounts of text, so keep that in mind if trying to cram the entire contents of AtlasLoot into one page.

Miscellaneous
  • Searches are case insensitive.
  • You can bind a key to search.
  • While locked, the window won't go away with ESC, but you can still toggle it with /pad or a key binding.
  • You can also run pages with /run TinyPad:Run(page)
  • You can add a page with TinyPad:Insert("text here adds a new page")
  • You can delete multiple pages with TinyPad.DeletePagesContaining("regex") NOTE: be careful with this one.
  • Clicking on an item link while a tradeskill window is open will jump to that item if your tradeskill can create it.

v2.0.3, 11/8/14, quest links causing serious taint issues, temporarily removing ability to link quests
v2.0.2 10/14/14, 6.0 patch, AddOns binding category
v2.0.1, 9/12/14, completely rewritten, improved scrollbar vs cursor handling, improved link handling, shift+enter to search backwards, WoD compatable
v1.94, 8/26/13, fix for battlepet links (use reflink instead of link), and secure hook for quest links
v1.93, 5/21/13, toc update for 5.3 patch
v1.92, 11/13/12, removed UpdateScrollChildRect, max scroll enforced when focused and cursor position -5 to end
v1.91, 8/27/12, 5.0 (Mists of Pandaria) toc update
v1.9, 2/4/12, cleaned up XML, shift+clicking page turns move a page, changed search method from string:lower comparisons to a [Cc][Aa][Ss][Ee]insensitive search, added bookmark system
v1.8, 1/14/12, fixes for quest/tradeskill linking, added achievement linking
v1.71, 9/28/10, removed 'arg1' from moving, added TinyPad.Insert and TinyPad.DeletePagesContaining
v1.7, 9/1/10, changed 'this' references to 'self' in xml, updated toc
v1.62, 7/8/10, actual fix for linking to chat, SetItemRef extra params
v1.61, 6/24/10, fix for linking to chat
v1.6, 12/3/08, added support for inserting/displaying links
v1.53, 8/8/08, changed toc, this to self, passed arg1s, changed getn's to #'s
v1.52, 11/1/06, UISpecialFrames added back
v1.51, 10/23/06, UISpecialFrames removed
v1.5, 10/4/06, updated for Lua 5.1
v1.4, 8/22/06, bug fix: run script saves page to run, changed: moved buttons to search panel, reduced minimum width
v1.3, 8/5/06, added undo, widened page number
v1.2, 6/23/06, added search, lock, fonts, /pad <page>, /pade run <page>
v1.1, 12/18/05, remove autofocus, added confirmation on delete
v1.0, 12/16/05, initial release
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Author
Date
2.0.2
30kB
Gello
10-14-14 06:25 AM
2.0.1
30kB
Gello
09-12-14 10:01 AM
1.95
29kB
Gello
09-11-13 10:11 AM
1.94
29kB
Gello
08-26-13 12:02 PM
1.93
29kB
Gello
05-21-13 11:10 AM
1.91
29kB
Gello
08-27-12 08:33 PM
1.9
29kB
Gello
02-04-12 08:24 PM
1.8
24kB
Gello
01-14-12 08:55 AM
1.62
15kB
Gello
07-08-10 10:30 AM
1.61
15kB
Gello
06-30-10 07:25 AM
1.6
15kB
Gello
12-03-08 10:26 AM


Post A Reply Comment Options
Unread 09-25-14, 02:38 PM  
lonadar
A Murloc Raider
 
lonadar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 38
Uploads: 0
Originally Posted by Gello
The original code for TinyPad was written in 2005 and it remained relatively unchanged throughout the years. This update is a long-overdue rewrite using more modern methods. Thanks for using it!
Gello...you rock. 'nuff said.
Last edited by lonadar : 09-25-14 at 02:38 PM.
lonadar is offline Report comment to moderator  
Reply With Quote
Unread 09-12-14, 10:02 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
The original code for TinyPad was written in 2005 and it remained relatively unchanged throughout the years. This update is a long-overdue rewrite using more modern methods.

That said, on the outside, very little will appear to have changed. The UI is (mostly) the same and there are no new substantial features, beyond more natural cursor/scroll behavior and the mentioned shift+enter on search bit.

For users of previous versions, none of your old pages/bookmarks will be lost. (I have 1876 pages as of this writing, so keeping every byte of that intact was an imperative.)

This addon is meant to be tiny and free of feature creep. But I'll certainly consider suggestions that are natural additions and not too specific to a purpose.

Thanks for using it!
Gello is offline Report comment to moderator  
Reply With Quote
Unread 11-22-13, 02:45 AM  
knifepoint
A Defias Bandit

Forum posts: 2
File comments: 1
Uploads: 0
Hi, ive just downloaded this nice little addon and it seems cool. i was wondering though if theres any possibility of incorporating features from Notes U Need? NuN is no longer supported and was regarded as the best notes addon for wow. some feature were a main window which listed the titles of your notes, and you could click to edit them. you could also share notes with other players with the same addon and insert information like player info, date & time etc.
knifepoint is offline Report comment to moderator  
Reply With Quote
Unread 05-24-13, 09:58 AM  
xXxDSMer
A Kobold Labourer

Forum posts: 1
File comments: 8
Uploads: 0
Hadn't thought of it before, but that does make sense... because the links are actually quite alot longer than the pretty [linkname] that we see. Very handy addons this and linkerize are though

Originally Posted by Gello
Yeah that behavior happens even without pasting links. I'll look into it again sometime over the holidays. Years ago when I added links it seemed to be a side effect of the control codes padding out the perceived-but-not-actual space within the text.
Originally Posted by xXxDSMer
Not sure if this happens for anyone else, or it just doesn't bother anyone else, but when i copy and paste text from one place to another within /pad, it makes the entire entry (like "[alchemy: potion of luck] - 1@3000, 1@2500, 1@0" ) be a "clickable link" where when i click the text to change one of, or add a, "1@price", the popup comes up just like i'd clicked the link itself, when i'm not clicking the link.

I can even click the supposed to be blank line after a link in my list, and it'll open the popup. (i put a line space between entries to keep things seperated and organized)

Pretty annoying that the popup comes up everytime i click something in my /pad list, and i just noticed it does the same thing even when nothing's been copy pasted (just saved the page by changing pages), and it resumes this slightly annoying behavior of making an entire entry a clickable link rather than plain text behaving as plain text.

Even with the above mentioned, it's still an awesome addon. between this and /dump __ / __ i dont have to alt tab to wordpad and calc anymore (although it could be nice to not have to type /dump everytime lol.. maybe someone somewhere can come up wtih a lightweight interface for a calc)
xXxDSMer is offline Report comment to moderator  
Reply With Quote
Unread 12-15-12, 09:12 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Yeah that behavior happens even without pasting links. I'll look into it again sometime over the holidays. Years ago when I added links it seemed to be a side effect of the control codes padding out the perceived-but-not-actual space within the text.
Originally Posted by xXxDSMer
Not sure if this happens for anyone else, or it just doesn't bother anyone else, but when i copy and paste text from one place to another within /pad, it makes the entire entry (like "[alchemy: potion of luck] - 1@3000, 1@2500, 1@0" ) be a "clickable link" where when i click the text to change one of, or add a, "1@price", the popup comes up just like i'd clicked the link itself, when i'm not clicking the link.

I can even click the supposed to be blank line after a link in my list, and it'll open the popup. (i put a line space between entries to keep things seperated and organized)

Pretty annoying that the popup comes up everytime i click something in my /pad list, and i just noticed it does the same thing even when nothing's been copy pasted (just saved the page by changing pages), and it resumes this slightly annoying behavior of making an entire entry a clickable link rather than plain text behaving as plain text.

Even with the above mentioned, it's still an awesome addon. between this and /dump __ / __ i dont have to alt tab to wordpad and calc anymore (although it could be nice to not have to type /dump everytime lol.. maybe someone somewhere can come up wtih a lightweight interface for a calc)
Gello is offline Report comment to moderator  
Reply With Quote
Unread 11-11-12, 01:45 PM  
xXxDSMer
A Kobold Labourer

Forum posts: 1
File comments: 8
Uploads: 0
Not sure if this happens for anyone else, or it just doesn't bother anyone else, but when i copy and paste text from one place to another within /pad, it makes the entire entry (like "[alchemy: potion of luck] - 1@3000, 1@2500, 1@0" ) be a "clickable link" where when i click the text to change one of, or add a, "1@price", the popup comes up just like i'd clicked the link itself, when i'm not clicking the link.

I can even click the supposed to be blank line after a link in my list, and it'll open the popup. (i put a line space between entries to keep things seperated and organized)

Pretty annoying that the popup comes up everytime i click something in my /pad list, and i just noticed it does the same thing even when nothing's been copy pasted (just saved the page by changing pages), and it resumes this slightly annoying behavior of making an entire entry a clickable link rather than plain text behaving as plain text.

Even with the above mentioned, it's still an awesome addon. between this and /dump __ / __ i dont have to alt tab to wordpad and calc anymore (although it could be nice to not have to type /dump everytime lol.. maybe someone somewhere can come up wtih a lightweight interface for a calc)
xXxDSMer is offline Report comment to moderator  
Reply With Quote
Unread 09-02-12, 02:44 PM  
xromania™
A Frostmaul Preserver
 
xromania™'s Avatar

Forum posts: 284
File comments: 191
Uploads: 0
ppl dont realize how nice is this addon i see

thanks for update man

but i cant link some stuff to chat, especially the weapons links who are in my pad.
__________________
*sry my english
http://eu.battle.net/wow/en/characte...romania/simple
xromania™ is offline Report comment to moderator  
Reply With Quote
Unread 05-21-12, 03:48 PM  
xromania™
A Frostmaul Preserver
 
xromania™'s Avatar

Forum posts: 284
File comments: 191
Uploads: 0
best addon thanks
__________________
*sry my english
http://eu.battle.net/wow/en/characte...romania/simple
xromania™ is offline Report comment to moderator  
Reply With Quote
Unread 01-22-12, 11:27 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Originally Posted by lonadar
See my post of 2-21-2010 previously. I haven't tried it since then, but I also never saw anything indicating this was ever addressed. If I'm just doing this wrong, or using it wrong, please let me know.
In that post:
I made a page with a bunch of "/qh find loc location xx yy" to run as a script to add all of the Elder locations to QuestHelper to guide me through. When I clicked on the button at the top to run the page as a script, I got this:
I see the confusion. The scripts run with the run button are lua scripts just like addons use. /slash commands are interpreted macro commands, partly for running protected actions that addons aren't allowed to script (like /cast and /target), partly for addons like QH to give you commands it can interpret.

This is a lua script:
Code:
function PickProspect()
  local macroName = "Prospect"
  local ores = {
    ["Elementium Ore"]="Obsidium Ore  ",
    ["Obsidium Ore  "]="Pyrite Ore    ",
    ["Pyrite Ore    "]="Elementium Ore"
  }
  local macroIndex = GetMacroIndexByName(macroName)
  local macroBody = select(3,GetMacroInfo(macroIndex))
  local currentOre = string.match(macroBody,"^#showtooltip (.-)\n")
  local newOre = ores[currentOre]
  if newOre then
    macroBody = string.gsub(macroBody,currentOre,newOre)
    EditMacro(macroIndex,macroName,nil,macroBody,1)
  end
end
When you enter "/qh find loc location xx yy" into chat or a macro encounters it, the default UI goes through a process of sending "find loc location xx yy" to the addon that has ownership of "/qh".

TinyPad runs lua scripts, it doesn't run a command parser to run macro/slash commands.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 01-22-12, 08:04 AM  
lonadar
A Murloc Raider
 
lonadar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 38
Uploads: 0
Originally Posted by Gello
Thanks for the feedback!

Cutting/Pasting text that includes a link kills the link. For some reason the identifying code doesn't get copied

I'll think on this. The typing/copy/pasting done into WoW EditBoxes (like the macro edit window, chat window, etc) is done in a "black box" and an addon only knows what it looked like before and after. WoW strips out the control codes on links when you copy them. There's maybe a way to cheat the system by monitoring links in pages and when they disappear/reappear, but any solution would only allow cut/paste within TinyPad. Allowing cut/paste from/to other EditBoxes (like copying links from TinyPad to a macro window) would be prohibitively invasive.
Yea, this is just within the Pad, like moving a set of links from one page to the other (reorganizing pages), the links will lose their functionality.

Originally Posted by Gello
I can't get script-running to work.

Are you getting an error of any sort? When you enter text like:

print("hello world")

and click the Run icon, it runs the page as if it was a lua script. There can be no macro commands in the script. It runs lua, not the macro command parser. /run and /script are macro commands also. Make sure those are removed from any scripts you want to run. ie: /run print("hello world") -> print("hello world")
See my post of 2-21-2010 previously. I haven't tried it since then, but I also never saw anything indicating this was ever addressed. If I'm just doing this wrong, or using it wrong, please let me know.

Originally Posted by Gello
AN UNDO FEATURE!

It's been there for years! The little paw icon will undo any changes you make to a page before leaving it.
...how...did...I...never...see...this... /shame
lonadar is offline Report comment to moderator  
Reply With Quote
Unread 01-22-12, 12:19 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Thanks for the feedback!

Cutting/Pasting text that includes a link kills the link. For some reason the identifying code doesn't get copied

I'll think on this. The typing/copy/pasting done into WoW EditBoxes (like the macro edit window, chat window, etc) is done in a "black box" and an addon only knows what it looked like before and after. WoW strips out the control codes on links when you copy them. There's maybe a way to cheat the system by monitoring links in pages and when they disappear/reappear, but any solution would only allow cut/paste within TinyPad. Allowing cut/paste from/to other EditBoxes (like copying links from TinyPad to a macro window) would be prohibitively invasive.

I can't get script-running to work.

Are you getting an error of any sort? When you enter text like:

print("hello world")

and click the Run icon, it runs the page as if it was a lua script. There can be no macro commands in the script. It runs lua, not the macro command parser. /run and /script are macro commands also. Make sure those are removed from any scripts you want to run. ie: /run print("hello world") -> print("hello world")

The ability to reorganize pages without a lot of cut/paste (on, or offline)

This one would be trivial and probably useful. Could make SHIFT while clicking page first/back/forward/last move the page. I'll probably add this.

The ability to have multiple pads, or to create sections within the pad.

This is actually one of the reasons I was considering bookmarks. For instance I'd create a "BG scripts" bookmark and anytime I create a new one I'd go to that bookmark and insert a new page in that area.

AN UNDO FEATURE!

It's been there for years! The little paw icon will undo any changes you make to a page before leaving it.

The ability to have TinyPad feed a list, a line at a time, into the console box as if we had typed it (see script comment above).

It does this now. But it can't do macro commands.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 01-21-12, 09:17 AM  
lonadar
A Murloc Raider
 
lonadar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 38
Uploads: 0
Originally Posted by Gello
Out of curiosity, especially from long time users, is there any real demand for bookmarks or any other universal feature? You can PM me or post here if you have a strong feeling one way or the other.
I have about 30 pages in mine, and from time to time I try to consolidate information and regroup it for best fit.

Two small gripes, since you've returned to the fold:
- Cutting/Pasting text that includes a link kills the link. For some reason the identifying code doesn't get copied.
- I can't get script-running to work. (I think I posted somewhere about this.) For example, I had made an entire list of sites to feed into QuestHelper to route through the Lunar Festival or the Fire Festival or such, but I couldn't run it through TinyPad. Does it run as a WoW script in the background?

I don't know that a web-like bookmarking feature would suit me, but some sort of quick ability to find specific pages would be good. Personally, I'd love to have tabs added down the side of the window with either numbers or custom short names.

Other features I would like to see:
- The ability to reorganize pages without a lot of cut/paste (on, or offline)
- The ability to have multiple pads, or to create sections within the pad.
- AN UNDO FEATURE!
- The ability to have TinyPad feed a list, a line at a time, into the console box as if we had typed it (see script comment above).

This has been, far and above, one of the most useful addons I've ever used. Thank you!
lonadar is offline Report comment to moderator  
Reply With Quote
Unread 01-15-12, 01:39 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Out of curiosity, especially from long time users, is there any real demand for bookmarks or any other universal feature? You can PM me or post here if you have a strong feeling one way or the other.

Back in 2005 when this addon was first posted, the goal was to keep TinyPad as simple and to the point as possible. Over six years later, I have over 800 pages on my personal one now, filled with scripts and experiments and random notes of all kinds. I go back to specific pages often by searching for keywords (usually stuff like archaelogy scripts to save precious macro slots) and in reviewing the addon it seems a prime candidate for a rewrite and maybe a bookmarking ability.

But in asking around, my 800+ pages seems way way more than others who use it. So I may just rewrite it to conform to "modern" methods and keep it simple as it is now.
Last edited by Gello : 01-15-12 at 02:23 PM.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 01-14-12, 09:00 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 444
File comments: 357
Uploads: 101
Originally Posted by Alexils
Why i don't may drag window tinypad? Also background is white, and i don't see where cursor position. I may only resize window. It's bag?
Woops, I didn't realize until coming here to update the mod that I only posted for Cataclysm beta and not a live version. Sorry about that.

And sorry to all for the extremely long time between updates.
Gello is offline Report comment to moderator  
Reply With Quote
Unread 01-13-12, 11:18 AM  
Alexils
A Kobold Labourer

Forum posts: 0
File comments: 31
Uploads: 0
Why i don't may drag window tinypad? Also background is white, and i don't see where cursor position. I may only resize window. It's bag?
Alexils is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: