jediYellow's recent activity

How to get selection using JSScripting?

I have a script that I mentioned before that recolors pixels monochromically. Within an UI mockup I use it to change the states of various elements, icons and text mostly. The script currently works on everything on a layer, and as the mockups are si...
Alright, Vlasta, that works. ๐Ÿ˜Š :) Document - Extract Document Part (From current selection = LAYER) >> Raster Image - Work with Selection (Entire image, selected) >> Document Operation >> JavaScript. The script now works with both floating selection tool otherwise layer. Thank you for taking the time to help me and teach me how to get this done. I...
Offsides ๐Ÿ˜ž Raster Image - Work with Selection doesn't work with the layer if there is no selection (throws a null object exception). However by setting it up as follows Document - Extract Document Part >> Raster Image - Work with Selection >> Document Op >> JavaScript and ticking the Entire Image checkbox even if there is no selection it the scrip...
Thank you for explaining a bit more about these elements and the organization of the scripting API. It's easy to see that the scripting is built on top of the app, giving the user direct access to the power of RW Paint. Gooool! Using "Raster Image - Work with Selection" >> "Document Operation" >> "JavaScript" seems to be the right command chain to get it w...
The documentation is ,er ...lacking. I would guess the Blender.CanvasFromMask(object context is my Document.RasterImage, but I really don't get the use of a Context object. An enumeration of Context objects would help ๐Ÿ˜Š though all I can find are the methods and properties assignable to a context. I did assume at some point that my selection would be vis a vis the d...

Script, Transfer image layer to alpha layer

Transfers the color of one layer to the alpha of another layer, creating a new layer with the result. --Vlasta wrote this for me some time back. ;| "Configuration" Context; var li = Document.LayeredImage; var n = li.Layers; var names = []; for (var i...

JScript Operation

Goofing off with my RWPaint Hi Vlasta, hope you are well. I want to add a button to the toolbar that zooms to 100% with a click. Not sure if this is possible. Maybe something as follows (which fails)... var zoom = Operation.Create("Image - Zoom"); zo...
Often the first thing I do when opening an image is go into the Zoom drop down list and set the image at 100%. The Zoom to Fit selection is generally more useful, but a quick way to go 1:1 would be nice, especially when mocking up a new UI design. Thanks for your time

Multiprocessing in RWPAint

What it does Vlastmil, in Context Menu under Window painting, there is a Multiprocessing option. I suppose it means use more cores if available. What does this mean? Thanks

JScript Operation

Document objects in Configuration tab Hi Vlasta, I get a null object error when running a script that references Document.LayeredImage in the Configuration section. I suppose Document objects haven't been initialized. I was trying to accomplish Confi...
Works as intended. I'm proud of you. I tried it in RW Paint 2011, to avoid destroying my TBEFFECT toolbar. I exported all the RWCommands from the toolbar; changed the Configuration Root to Command List; added Document:Extract Document Part to the list; re-imported the native commands to its Inner list; and was good to go. In the JavaScript, I removed the optional argu...
ps, RealWorld graphic products are the best=) 99% of the graphic work I do is done within your terrific editor. If all my software made as much sense to me, I'd always be happy in front of the computer monitor! Best, low prices too=)
Hi, Vlasta. Instead of trying to delete "Extract document part" element from the command hierarchy, and recreating the entire toolbar, I tried to add a new toolbar item to the TBIMAGE toolbar. I used export and import buttons to copy the JSOperation RealWorld Menu Command to the toolbar. I get a "Failed to load DLL" error. Sorry I let this sit for a week. What I am tr...

JScript Operation

Getting the Active Primary Color Using RW API, how can I get the foreground color? I found the mention of the Context object, but I guess I need a code example ... or more of a hint.
Cool! Needs more integration to really bring it on to me. If individual talent(s) could invest in a RealWorld workflow designed toward creating 3D objects, that would be great. DAZ Victoria always needs another old log or a new highback chair to sit on. It'll take a lot of effort.

RealWord Font Editor

The next generation RealWorld? What is missing in the methodology of font creation is the intuitive interface of a RealWorld app; and conversely, what is missing from the RealWorld products is a font editor. Magic! Without magic the act of doing any ...