What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [WIP] Pastebin for Messenger Plus!

[WIP] Pastebin for Messenger Plus!
Author: Message:
Horseboy
Junior Member
**

Avatar
You can run and tell THAT - Horseboy

Posts: 40
Joined: Apr 2011
O.P. RE: RE: [WIP] Pastebin for Messenger Plus!
quote:
Originally posted by CookieRevised
What happens when you paste a large amount of text (and "Improve pasting operations for large text" is enabled) depends on if you already have typed something in the typing area or not:

- If the typing area is empty: the pasted blob will be send as a text file. No parsing is done on the pasted blob, not even if it starts with a command or if it contains tags or whatever.

- If the typing area is not empty: the pasted blob will be pasted at the cursor's location. It will be cropped to the maximum allowed amount of characters in the typing area (depends on your status and the Plus! setting "increase max size of messages you can send") minus what was already in the edit box.

eg: If the text "hello world" was entered in the edit box, and the cursor is at the space and you paste a massive amount of text, the output will be: "helloblobblobblobblobblobblob<...>blo World"

quote:
Originally posted by Spunky
Would Plus! still send the data as a txt file if it's a command? That would sound like a bug to me... :s
Depends on how you look at it I think. Imho it would be a bug if it does parse the blob in that case*.
Because if you paste a large amount of text, it is safely to assume imho that it wasn't meant to be a command but rather a copy of a document. If that document happens to start with a "/" and then the blob was parsed it would result in an error message (or even unexpected results). So, not good in that case.

*not to mention how large needs the internal buffers be then that Plus! uses to handle commands etc? You could well paste 200MB worth of text or more or whatever....The internal buffers would be rediculus big and parsing would be dead slow, scripts would choke, etc... probably resulting in a complete freeze of Messenger for a long while.


------------------


So, knowing this, the feature of this script is a bit redundant imho (not completely though. But it might not be as usefull as it seems to be at first sight).

Because if the text you want to paste to your contact is small enough to fit in the typing area, then there is not much reason to first copy it to pastebin, then send a link back. Simply send it directly.

If the text you want to paste to your contact is larger than the allowed amount, Plus! will already make a textfile out of it and send it that way (if that option is enabled).

The only added benefit of this script, as far as I can see, would be the language highlighting in case of source code. So, for people pasting source code all the time, it might be usefull I guess. Either way, it would be a good scripting practice for sure.

PS: Horseboy, What does the 'W' stand for in 'WIP'? And I assume 'IP' is 'In Progress'?

I've scrapped that idea, I'm sticking to /paste - window opens and you fill in the details. When it's done it'll replace the current message with the pastebin link to what you pasted.

And WIP stands for Work In Progress :)
Amateur Script Developer.
Current project(s) - TooLong Script
04-14-2011 07:54 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[WIP] Pastebin for Messenger Plus! - by Horseboy on 04-13-2011 at 01:01 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-13-2011 at 06:01 PM
RE: RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-13-2011 at 06:11 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-13-2011 at 06:32 PM
RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-13-2011 at 06:45 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-13-2011 at 06:58 PM
RE: [WIP] Pastebin for Messenger Plus! - by Spunky on 04-13-2011 at 07:35 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-13-2011 at 07:56 PM
RE: [WIP] Pastebin for Messenger Plus! - by prashker on 04-13-2011 at 08:07 PM
RE: [WIP] Pastebin for Messenger Plus! - by CookieRevised on 04-13-2011 at 11:35 PM
RE: RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 07:54 AM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-14-2011 at 02:19 AM
RE: [WIP] Pastebin for Messenger Plus! - by CookieRevised on 04-14-2011 at 10:37 AM
RE: RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 02:30 PM
RE: [WIP] Pastebin for Messenger Plus! - by CookieRevised on 04-14-2011 at 02:43 PM
RE: RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 02:47 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-14-2011 at 03:11 PM
RE: RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 03:29 PM
RE: [WIP] Pastebin for Messenger Plus! - by CookieRevised on 04-14-2011 at 03:36 PM
RE: RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 03:51 PM
RE: [WIP] Pastebin for Messenger Plus! - by CookieRevised on 04-14-2011 at 03:57 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-14-2011 at 03:57 PM
RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 04:02 PM
RE: [WIP] Pastebin for Messenger Plus! - by CookieRevised on 04-14-2011 at 04:21 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-14-2011 at 04:38 PM
RE: [WIP] Pastebin for Messenger Plus! - by CookieRevised on 04-14-2011 at 05:17 PM
RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 05:30 PM
RE: [WIP] Pastebin for Messenger Plus! - by matty on 04-14-2011 at 06:24 PM
RE: RE: [WIP] Pastebin for Messenger Plus! - by Horseboy on 04-14-2011 at 06:43 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On