Download
(17 Kb)
Download
Updated: 09-28-10 08:07 AM
Pictures
File Info
Updated:09-28-10 08:07 AM
Created:09-01-10 07:41 PM
Downloads:2,328
Favorites:74
MD5:
TinyPad
Version: 1.71
by: Gello [More]
This is an older beta version! The latest is found here at the original source:
http://www.wowinterface.com/download...7-TinyPad.html


TinyPad is a notepad mod.

__ New in 1.71 __
- Fix for moving window (oops)
- Added TinyPad.Insert and TinyPad.DeletePagesContaining for addon/script use
__ New in 1.7 __
- 4.0 (Cataclysm) support

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.

__ Notes on link support __
  • 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 or quest as you ordinarily would to chat.
  • To view links: Click them.
  • To send links: Shift+click to chat as you would normally.
  • Links can't be copy-pasted unfortunately (addons can't play with the clipboard), but you can link it to yourself and insert a link elsewhere in the text via chat.
  • Links may display only a handful of characters, but they have many hidden control characters (especially tradeskills). 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.

__ Notes __
  • Searches are case insensitive.
  • You can bind a key to search.
  • Pages aren't "saved" until you leave the page, so expect Search to not find new stuff on your current page.
  • 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 /script 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
Optional Files (0)


Archived Files (1)
File Name
Version
Size
Author
Date
1.7
15kB
Gello
09-01-10 07:41 PM


Post A Reply Comment Options
Old 04-28-11, 05:32 PM  
ImaShureShot
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Update - downloaded what i thought was 1.7 but it was 1.71 - out of date when loaded into wow

Please advise
------
previous messages ...

NVM, just found the new one under other files, Thanks!!!!


Hi there Gello, Thanks for a very cool add on!

It looks like 1.7 has the 4.1 support. But 1.71 is the file that down loadable.

Please advise Thanks.

Ima
Last edited by ImaShureShot : 04-28-11 at 06:30 PM.
ImaShureShot is offline Report comment to moderator  
Reply With Quote
Old 11-09-10, 05:21 PM  
lonadar
A Murloc Raider
 
lonadar's Avatar
AddOn Author - Click to view AddOns

Forum posts: 4
File comments: 31
Uploads: 0
Why has this not made the transition to the normal addon page?
lonadar is offline Report comment to moderator  
Reply With Quote
Old 09-29-10, 04:37 AM  
zork
A Molten Giant
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 787
File comments: 2738
Uploads: 53
Awesome, I love this mod!
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline Report comment to moderator  
Reply With Quote
Old 09-28-10, 08:16 AM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 420
File comments: 150
Uploads: 71
lol oops. I just found out this morning I couldn't move the window and came here to post an update to fix it. Sorry about that.

To make the update more worthwhile I also added a couple small functions for other addons to use since I've been doing what you ask many times with data I'd like to copy-paste.

In the past I'd do table.insert(TinyPadPages,textToAddToItsOwnPage) and it would add the page to the end. TinyPad.Insert(text) will accomplish the same thing with a bit more polish (moving to new page, updating page numbers/buttons/etc).

Also, if you tend to generate many reports over time, you'll want to clean up old ones maybe. So there's TinyPad.DeletePagesContaining(regex) to do it. For instance, I have an addon that generates pages whose first line is "Glyphioneer Suggestions". Before generating a new report, it can do TinyPad.DeletePagesContaining("^Glyphioneer Suggestions") and it will wipe out all the old pages that start (^) with that phrase, then the new one can be created.

Oh and for line breaks you can use \n with TinyPad.Insert. ie:

/run TinyPad.Insert("This is\na test.\n\nblah blah\nblah\netc")
Last edited by Gello : 09-28-10 at 08:18 AM.
Gello is offline Report comment to moderator  
Reply With Quote
Old 09-25-10, 04:38 AM  
zork
A Molten Giant
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 787
File comments: 2738
Uploads: 53
Moving does not work. Adjusted the XML and it is working now...but has no locking condition. So maybe you need to look into that

Code:
			<OnMouseDown>
				TinyPad.StartMoving(self,arg1)
			</OnMouseDown>
			<OnMouseUp>
				TinyPad.StopMoving(self,arg1)
			</OnMouseUp>
to
Code:
			<OnMouseDown>
				TinyPadFrame:StartMoving()
			</OnMouseDown>
			<OnMouseUp>
				TinyPadFrame:StopMovingOrSizing()
			</OnMouseUp>
Gello I want to print text from another addon into TinyPad. Is that possible?

Because I want to calculate sth and print the result to the editor to be able to copy it out afterwards.

Hmm...sweet:
Code:
/run TinyPadEditBox:SetText("TEST")
Now I only need to find out how to hand over chr(10) aka. breaks to the editbox. Maybe \n\r or sth. works. ... *just tested* Botth \n\r work. Awesome so I can use the it as an editor copy frame.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild | zorker.de

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
Last edited by zork : 09-25-10 at 04:46 AM.
zork is offline Report comment to moderator  
Reply With Quote
Old 09-02-10, 07:33 PM  
Gello
A Scalebane Royal Guard
AddOn Author - Click to view AddOns

Forum posts: 420
File comments: 150
Uploads: 71
Originally posted by nitewarlord
I'm going to be honest....this is my first time using your addon but already i'm loving it. Definately going to help me keep track of quests that I do for the guide that I'm putting together for my guild and probably to be uploaded on wowinterface as well. Only question I can ask is if there is a way to move it around the screen. I would like to move it into the upper left corner but it just sits in the center no matter how much i try to drag it. Any suggestions.

Again great addon!
Thanks!

It should be draggable by grabbing the top header like you would a Windows window. In its default state it may be scrunched up a bit, so you can grab the page number (between the |< and >| buttons) and drag that around the screen. You can also make the header wider with the resize grip in the lower right.

If it's refusing to move or resize, make sure it's unlocked. Hit the gear button and then the unlock button in the window that pops out. While locked the border is a solid black.
Gello is offline Report comment to moderator  
Reply With Quote
Old 09-02-10, 04:37 PM  
nitewarlord
A Defias Bandit
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 59
Uploads: 1
I'm going to be honest....this is my first time using your addon but already i'm loving it. Definately going to help me keep track of quests that I do for the guide that I'm putting together for my guild and probably to be uploaded on wowinterface as well. Only question I can ask is if there is a way to move it around the screen. I would like to move it into the upper left corner but it just sits in the center no matter how much i try to drag it. Any suggestions.

Again great addon!
nitewarlord is offline Report comment to moderator  
Reply With Quote
Old 09-02-10, 09:20 AM  
moonshade
A Kobold Labourer

Forum posts: 0
File comments: 81
Uploads: 0
Been using this addon for a good while now. Never had any issues & it has come in handy on numerous occasions. I don't have CAT Beta or anything, but TY for the update.
moonshade is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: