2.5.3 - P asteAll.org add-on (Text Editor)

Hello there,
more scripting fun this weekend:
http://www.pasteal.org/15240/python

Permanent Link: http://blenderecia.orgfree.com/blender/scripts/pasteal.py
http://blenderecia.orgfree.com/blender/scripts/pasteal.jpg

This add a button in the Text Editor. It will send the current selection or the text (when no selection) directly to www.pasteal.org and open the page in your web browser.

To do List:

  • support to latin characters (áóãç, …)
  • [done] move the button to the menu (since you are not going to use it so often)

I’ll try to write this week a post about the development of this one. It was pretty hacky/cool :slight_smile:
** Done - Development process of this script

  • Last update: 25th August 2010

That’s an awesome idea dfelinto!, very handy for devs as well as users (reporting errors, scripts).

BTW, is ********.org ( p asteall.org ) banned from BlenderArtists?

cool, very good idea !! connection from blender to internet can be also a main features, to access websites datas (mat/resources…) and tutorials (formatted PHP/CSS3 pages) !!!

thank you for your work !!!

great idea!

And a screen capture to www.pasteal.org??

Thanks nice plug!

>>And a screen capture to www.pasteal.org?
+1

How about a feature like double click actually selects the word?

Hi Dfelinto, nice idea, thanks for sharing
migius

Thanks all for the support :slight_smile: I’m glad you all liked it. I’ll do some adjustments (move to the menu, add the url to the clipboard, support for latins) and send to the repository. So odds are that this will be part of the addons already for the 2.5beta4. I’m not sure if it will be as a downloadable side package or what, well, let’s wait :slight_smile:

Some individual replies:

I’m really glad you liked. Specially knowing that I so furtively unscrambled your javascript code to get the needed parameters :slight_smile: And yes, it seems that pasteal.l is being filtered. I have no idea why (maybe an attempt to make BlenderArtists future-proof?

more than screen-capture I would like to send a render to pasteal.org. I have no idea how to do that though. But I will do that eventually. It sounds too cool to leave for someone else to do it :wink:

That has nothing to do with this add-on (at all! ) :slight_smile: But I agree that could be useful.


One question for all :
I just implemented a method to get/set the clipboard in Blender (this is called script cheatting :wink: doing in C what you need in Python) - for reference: bpy.context.manager.clipboard

I personally still like to see the submitted page (to make sure the formatting is correct and all that). But should I implement an option to only copy it to the clipboard? UI suggestions are welcome (keep in mind that I will probably move to the Ctrl+F panel).

I updated the script to use clipboard, move it to the property panel and created an option to only opens the page if you want. I hope you like it :slight_smile: (updated links in the first post)

I just wrote down a bit of the development process of this script. I hope someone like it - http://blenderecia.orgfree.com/index.php/blender/a-script-with-script/

sweet, this is really cool!

i’m looking into doing the same for the image editor now :slight_smile:

how to make process in other way?
take link from pasteall and get text inside blender.

please.